W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] toDataURL image/jpeg composition

From: Charles Pritchard <chuck@jumis.com>
Date: Thu, 02 Dec 2010 15:06:46 -0800
Message-ID: <4CF82686.4050205@jumis.com>
Currently, Firefox and Safari output image/jpeg in a way that differs 
from the spec:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11431

As Philip quotes:
"For image types that do not support an alpha channel, the image must be
composited onto a solid black background using the source-over operator, and
the resulting image must be the one used to create the data: URL."

I'd prefer the spec were followed. In a similar case, I have noticed 
with getImageData that OS X clients do
not always follow the spec when it comes to color management.

Anyway, I'm trying to see that image/jpeg is implemented across browsers:
this current divergence from the spec means delays for other canvas 
implementations waiting on a resolution.

Is there a policy decision out from Apple / Mozilla about this 
particular technical issue?

I'd prefer to see a change in subsequent releases of those browsers, and 
stay with the current standard as written.

-Charles
Received on Thursday, 2 December 2010 15:06:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC