(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&#39;d like to add a &#39;save&#39; 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(&#39;test.png&#39;, base64_decode(substr($data, strpos($data, &quot;,&quot;)+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>