Skip to content

image() return base64 or dataURI #12

Description

@victoria168

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions