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:

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:51 UTC