We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello everyone,
I am trying to load an image from a base64-encoded string with loadImage like this: loadimage("data:image/png;base64,iVBORw0KGgoA..."), but it is not working (I cut the base64 string short in this post for space). When I this, I get an error saying, "The file "data:image/png;base64,iVBOR..." is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable."
I know the encoded string is valid, and as far as I am aware, it is possible to do this. Does anyone know how I can solve this?
Thank you
Answers
Sorry, there is a new forum
Everyone is over there now
Please ask there
See Processing main page for link to forum
Okay, thank you. I have re-posted on the new forum. I am currently awaiting moderator approval.
Thank you!
...that post continued here on the new forum: https://discourse.processing.org/t/use-loadimage-with-base64-encoded-png/5897