-
Notifications
You must be signed in to change notification settings - Fork 14
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
image() return base64 or dataURI #12
Comments
Base64 is the most memory-consuming case. I'd not recommend to use it for large images. |
I copied from your example 4 under image(), and get the error when executing Photo.image(): |
@victoria168 : I'm trying to reproduce this bug. I just made a panorama photo and successfully fetched it. Do you have any specifics in your image? Which size it has (both - bytes and dimensions)? |
The pano is: 13632 * 2936 px. |
Hi, I'm using image() function to get panorama photo urls and want to display them in photoviewer. But I only get blob urls which can't be displayed in photoviewer. Are there any ways that I can get base64 or datauri from image()?
I tried eg.4 with File plugin, but the image is too large that I get memory problem.
Currently I'm using FileReader() to read the blob url as base64 then display it. But it's both time and memory consuming.
Anyway, thanks for this great plugin!
The text was updated successfully, but these errors were encountered: