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

How to get Scale from response object ? #2050

Open
gur22-09 opened this issue Apr 30, 2024 · 0 comments
Open

How to get Scale from response object ? #2050

gur22-09 opened this issue Apr 30, 2024 · 0 comments

Comments

@gur22-09
Copy link

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.36.2
  • react-native v0.69.9

Platform

Tell us to which platform this issue is related

  • iOS
  • Android

Question

is it possible to get the sacle in the response object when an image is cropped successfully.
an example scenario can be -
the user zoomed in to crop a specific portion of the image, which scaled the image by some factor, it would be very helpful for my usecase if i could get the value by how much the zoom happened.

Actual behaviour

currently in response object we just get x, y, width and height

Steps to reproduce

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective:
👉 https://opencollective.com/react-native-image-crop-picker/donate

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

1 participant