Deliver Images as base64 strings?
Hey there,
is it possible to have Cloudinary deliver an image as a base64 encoded string? Say: apply arbitrary transformations, specify output format as you would do with any other rendition, but have the resulting binary image returned as a base64 string?
I am aware this wouldn't make sense when being used in a pure browser context. But I am facing a requirement for an integration where a series of images images need to be exported as bas64 strings in a browser context and hence need to be converted and embedded as base64. Encoding 50+ images client-side and during each and every export would be far less ideal than utilizing Cloudinary image urls for this incl. CDN caching for the "base64" rendition.
-
Hi David.
Unfortunately this isn't something we support natively at this time. If you need to deliver assets as base64, I'm afraid you would need to download them locally first and convert them into base64 on your end.
That being said, it sounds like an interesting feature request! You'd be welcome to add it to https://roadmap.cloudinary.com/ as a suggestion for our development team.
Thanks for getting in touch.
0
Post is closed for comments.
Comments
1 comment