I\'m working on a generative art project where I would like to allow users to save the resulting images from an algorithm. The general idea is:
If you want to save data that is derived from a Javascript canvas.toDataURL() function, you have to convert blanks into plusses. If you do not do that, the decoded data is corrupted:
canvas.toDataURL()
http://php.net/manual/ro/function.base64-decode.php