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

Library not supporting image cropping in iOS WebView #589

Open
rahul-appinventiv opened this issue May 7, 2024 · 6 comments
Open

Library not supporting image cropping in iOS WebView #589

rahul-appinventiv opened this issue May 7, 2024 · 6 comments

Comments

@rahul-appinventiv
Copy link

I have implemented the library in ReactJS website to crop images after they've been selected by the user. I am then loading the React web page in a WebView in an iOS app.
However, the library in unsupportive towards cropping images with 24 MP resolution (res 4284 X 5712) from the iPhone 15 Pro Max photo gallery which is selected by the user from the WebView of the iOS app.
Would like you to provide support for HEIC images with 24 MP (res 4284 X 5712) resolution.

@sekoyo
Copy link
Owner

sekoyo commented May 7, 2024 via email

@rahul-appinventiv
Copy link
Author

@sekoyo HEIC, in a way, is supported by browser canvas element. Otherwise, I would not have success with cropping images with lesser resolutions on iPhone 13 (all variants), iPhone 14(all variants) & iPhone 15.

@sekoyo
Copy link
Owner

sekoyo commented May 7, 2024 via email

@rahul-appinventiv
Copy link
Author

Ah yes you’re right, it’s supported in safari

So would you please look into how the library can provide support for cropping HEIC images with 24 MP (res 4284 X 5712) resolution in a WebView on iOS?
My app is about to go live and this is the only issue stopping my client from marketing their product.

@AsadAlihp
Copy link

AsadAlihp commented May 10, 2024

@rahul-appinventiv did you find any solution?, Im doing exactly the same using web page in mobile WebView, but the cropped image does not match user selection

@rahul-appinventiv
Copy link
Author

@AsadAlihp None.
Waiting for @sekoyo to fix this.

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

3 participants