- From: Charles Pritchard <chuck@jumis.com>
- Date: Wed, 28 Mar 2012 15:02:09 -0700
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.
-Charles
Received on Wednesday, 28 March 2012 15:02:09 UTC