(I also posted this in stack overflow)<div><br></div><div><div>I have an image that users can annotate on the browser. I can access the image using</div><div> canvas.toDataURL() </div><div>...I'd like to add a 'save' option for the user to save the image on the server.</div>
<div><br></div><div>This question has been answered for php...</div><div> file_put_contents('test.png', base64_decode(substr($data, strpos($data, ",")+1))); </div><div>...what I need is a Seaside callback with the PNG file contents.</div>
<div><br></div><div>Is there a way to do this in Seaside?</div></div><div><br></div><div>Thanks,</div><div>Bob </div>