[Bug 10787] I don't see a way to save the canvas data as a BMP or JPEG or anything else that can then be uploaded via a FORM to a web server. This is a requirement, I woudl think.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10787

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2010-09-28 06:29:36 UTC ---
Check out the toDataURL() function.  It saves the canvas data as a PNG by
default, though implementations may offer the ability to save it in other
formats such as JPEG or BMP.

You can stuff this data in a form the obvious way, and decode it into an actual
image file on the server easily.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 28 September 2010 06:29:38 UTC