-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[FIX] Poor image quality after cropping #825
Conversation
Please merge this pull request asap and what i would need to do if i want to get latest changes in my app for this repo |
Merge please! I need this |
@ivpusic Why haven't you accepted my PR? As this is a community, it would be nice to get my name as contributor (not just on the release). |
I appologize for that @diegolmello, I did some small changes based on your fork in a seaparate branch, and pushed everything together to master |
When is going to be released to NPM?? |
it is already released in version 0.21.2 |
This did not work for me, I added |
The fix does does not work. |
Did anyone solve this ? The fix works on iOS but not android |
I was facing the same problem on Android when using the device dimensions as crop dimensions options for I was successful in retaining the full image quality by doing:
|
Hi, the changes that were made in this pull request (for iOS) caused another issue where the image doesn't get resized to the given height and width prop as stated here: #843. Undoing the changes of this pull request solves the issue. So, I think the code must be reversed or adapted in the next release. |
This PR works in my case, because I don't pass width and height props. |
Yes, but it's a pity that we can't use fixed width and height props after this PR (which is an essential part of cropping) and that there might be other people who will run into this issue too. |
@Lowisoft Yeah 😢 |
@diegolmello Unfortunately, I am not very familiar with Swift. |
@ivpusic We talked about this at #754.
On iOS, we were cropping the image twice.
On Android, image size were default 200x200.
Thanks!