We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am making a webapp/applet and I created my Processing program already. I intend on implementing this program into my HTML and posting from my hosting account. I got everything up and running except one thing... I cannot access the images that the save() action creates. I found out that if it's integrated in HTML then the save() action creates a Data URI out of the image instead of saving an actual image to the local drive. That's fine with me because I can already load Data URIs into my HTML... But how do you GET the Data URI string from within Processing???
My program saves images when mousePressed. I want to archive and post them on the same site. So, I need to have access of the Data URI string that's in the address field that pops up in the new window.
I found out that Processing.js save() is what makes this new window pop up happen, but how do I gain access to a Data URI and assign it to a String within Processing?...