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

Enable acquiring base64 from an image #34

Open
dxshindeo opened this issue Mar 17, 2017 · 1 comment
Open

Enable acquiring base64 from an image #34

dxshindeo opened this issue Mar 17, 2017 · 1 comment
Labels

Comments

@dxshindeo
Copy link

I didn't see this anywhere in code. I wish to send an image to server and I am going to use base64 format. Nativescripts' imageSource object has a method toBase64String. Currently, there are still image memory leaks the moment I initialise an imageSource object to get base64 data.
Since fresco cleans after itself I thought I would get base64 from fresco object, but there is no such functionality.

@VladimirAmiorkov
Copy link
Contributor

@dxshindeo Hi in the current 3.0.2 version of the plugin, using the FrescoDrawee to get its source is not available as a build-in feature.

I have not researched if this is possible in the native Fresco Android library but if it is we will be glad to approve a PR for it or some reference links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants