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 save to a file? #39

Closed
matihabbas opened this issue Sep 14, 2017 · 1 comment
Closed

How to save to a file? #39

matihabbas opened this issue Sep 14, 2017 · 1 comment

Comments

@matihabbas
Copy link
Contributor

crop() returns a base64 encoded image

How do i write this data into a valid format in a jpeg file. I'm using react-native-fetch-blob:

RNFB.fs.writeFile(cropFilePath, data, 'base64')

@matihabbas
Copy link
Contributor Author

Created a PR to address this: #40

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