Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageEditingManager.cropImage does not work correctly after upgrading from 0.15 to 0.17 #5113

Closed
ms88privat opened this issue Jan 4, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ms88privat
Copy link

My App takes pictures with https://github.com/lwansbrough/react-native-camera (and the option Camera.constants.CaptureTarget.disk).

In 0.17 when I'm trying to crop the image via ImageEditingManager.cropImage(url, cropData), it doesn't work correctly anymore. It will result in a black or sometimes some different color image. For me, it looks like, it shows only one pixel of it. I tried all different resizeModes and imageSizes to display it, but it looks always the same. Images from the assets library still work fine.

url = '/var/mobile/Containers/Data/Application/AA2AEEF1-85A1-4268-9129-D65C671330D2/Documents/F8749E02-6818-4CDB-8C15-83C96132C945.jpg'

Anybody know what changed here?

Thanks.

@facebook-github-bot
Copy link
Contributor

Hey ms88privat, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@mkonicek
Copy link
Contributor

Hi there! This issue is being closed because it has been inactive for a while.

But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/imageeditingmanagercropimage-does-not-work-correctly-after-upgrading-from-015-to-017

ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.

Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants