W3C home > Mailing lists > Public > public-canvas-api@w3.org > October to December 2010

toDataURL image/jpeg

From: Charles Pritchard <chuck@jumis.com>
Date: Wed, 10 Nov 2010 17:49:32 -0800
Message-ID: <4CDB4BAC.7050203@jumis.com>
To: "public-canvas-api@w3.org" <public-canvas-api@w3.org>
It was recently pointed out to me that the toDataURL ('image/jpeg') 
implementations across browsers
has an uneven implementation. Some have chosen to composite onto white 
when there is transparency in the image,
instead of simply tossing the transparency information.

Here is the unit test that I'm seeing fail on a few browsers:
http://philip.html5.org/tests/canvas/suite/tests/toDataURL.jpeg.alpha.html

It's a simple fix.. Were there objections ?
Received on Thursday, 11 November 2010 01:50:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 11 November 2010 01:50:14 GMT