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

resize and compress image before upload ? #21112

Closed
alainib opened this issue Sep 14, 2018 · 3 comments
Closed

resize and compress image before upload ? #21112

alainib opened this issue Sep 14, 2018 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@alainib
Copy link

alainib commented Sep 14, 2018

Hello.
I work on an app who make pictures from camera and upload them to an API.
Currently i use "react-native-image-crop-picker" package from npm who work very well for resizing and compressing but lost the EXIF data.

Or i need EXIF , i opened a issue on "react-native-image-crop-picker" github but no response after few weeks.

Is there a way to compress and or resize image stored on device with react ? i tryed js lib like "piexifjs" but didn't found how to make it work :(

any advice are welcomed. thanks

@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. 📋No Template labels Sep 14, 2018
@buchidiai
Copy link

@alainib did you figure anything out?

@alainib
Copy link
Author

alainib commented May 30, 2019

@NativLouie

Do you need to keep exif ?
we make à package ton copy exif from an image to another one (compressed with ''react native image crop picker' '). It work good on Android

On ios It dont because systèm remove exif before upload It using post
Maybe or can work with upload base64 but we didnt test it

@facebook facebook locked as resolved and limited conversation to collaborators Sep 14, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants