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

Has anyone gotten the react-native-perspective-image-cropper to work according to rectangleCoordinates on iOS? #53

Open
rosentoshev opened this issue Oct 1, 2020 · 2 comments

Comments

@rosentoshev
Copy link

rosentoshev commented Oct 1, 2020

Hello,

I am trying to add the react-native-perspective-image-cropper on both iOS and Android and based on what somebody suggested, I have gotten the library to work on Android and crop according to the coordinates. The custom fork is here: https://github.com/rosenexpend/react-native-perspective-image-cropper. While this works as well as expected on Android, it does not crop according to coordinates on iOS. The images below shows how a receipt is supposed to be cropped on iOS based the coordinates vs. how it is actually cropped. Has anyone gotten the react-native-perspective-image-cropper to work on iOS? Thank you.

@SL-A-SH were you able to solve this?

Cropper Tool (rectangle coordinates placed on receipt):
IMG_4154

Output
IMG_4155

@jaikumar1993
Copy link

Facing same issue after rotating the image.

@rosentoshev
Copy link
Author

@jaikumar1993 I found someone's solution to fixing the issue here. However, as of this moment, I cannot get it to work myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants