-
Notifications
You must be signed in to change notification settings - Fork 356
Async Task for Resize #180
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
Conversation
Move resize operation to a parallel async task in order to avoid blocking React's bridge.
|
Forgot to mention, this is Android only change. |
|
We have been using this fork in our beta app https://github.com/digidem/mapeo-mobile and it has been working well without problems. I support merging this @Minishlink |
Looks like this was left from some debug code...
|
Any updates? Could really have this merged |
|
@cristianoccazinsp Sorry for the delay. Gonna try to review this asap. |
|
I've added a new commit that adds width and height (in pixels) to the returned data. iOS was quite straight forward, while Android required a few organization updates (return bitmap instead of file, and handle file later) |
…the picture has exif rotation. This would also match iOS behavour.
|
Thanks a lot for the pr and all the work done @cristianoccazinsp . This is available on |
Move resize operation to a parallel async task in order to avoid blocking React's bridge.