brunon80 / expo-image-crop

Crop and rotate image without detach your expo project!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The tool no matter what I crop, always only crops the upper left side of the image

edoantonioco opened this issue · comments

This on newer code than 0.2.10, I got the code from master branch, just after it was upgraded to expo 35.
Edit: version 0.2.11

This on huawei p30 (I suspect it might happen in newer models of cameras since it used to work fine in my older phone)

So no matter what section of the image I decide to crop, it always only show me the upper left section of the image

This image explain it

cropBug

I tested on a physical phone, Lg K10 with Android 6 and various emulator models with Android 9 and could not reproduce this behavior, it is possible that ImageManipulator is returning wrong parameters on these devices, but I have no way to test since I can not reproduce this problem with the options I have.

resolved on expo-image-crop@0.2.16

I can still reproduce this bug in latest version

can you send me the picture you are testing?

This bug in expo cli I did cleaned the cache but it still showed up.
I got an apk with latest version and it works there. Thanks for the fix.