[whatwg] Canvas v5 API additions
chuck at jumis.com
Wed Mar 28 15:02:09 PDT 2012
On 3/28/2012 2:41 PM, Ian Hickson wrote:
> On Sun, 2 May 2010, Charles Pritchard wrote:
>> > At present, it's quite difficult to get the binary code for a jpg image;
>> > you must first draw it to a Canvas and export it as a png.
> Canvas supports toDataURL('image/jpeg') and toBlob(..., 'image/jpeg').
Someone had brought up having toBlob() on Image elements.
drawImage(image).toDataURL() != image.toDataURL.
More information about the whatwg