simple-image icon indicating copy to clipboard operation
simple-image copied to clipboard

Don't use base64 for the URL

Open PaulKinlan opened this issue 6 years ago • 3 comments

Whilst it's sometimes nice to have it base64 available, it massively increases the amount of memory the component uses in the browser because it is already displaying the decoded image as well as storing a large duplicate of the image as the URL.

The preference should be to use Blob URL's that can be converted to base64 if needed via a utility function, or lazy access.

PaulKinlan avatar Jan 08 '20 16:01 PaulKinlan