[webkit-dev] Reflecting pixel delta "distance" in ImageDiff

Ryosuke Niwa rniwa at webkit.org
Fri Jun 15 16:27:31 PDT 2012

On Fri, Jun 15, 2012 at 4:24 PM, Tony Payne <tpayne at chromium.org> wrote:

> I would like to change chromium's ImageDiff to reflect the magnitude of
> pixel changes. Currently, if the pixel has any difference, the entire pixel
> is marked as 100% red. I'd like to change it so that miniscule difference
> are 20% red and large differences are 100% red. Looking at the code for CG,
> gtk and Win versions of ImageDiff, I think they already do something
> similar. Is this correct?
> Would anyone be opposed to such a change? See the attached image for an
> example of how this could assist in debugging regressions. It would
> certainly be enormously useful in my color management efforts.

People with Protanomaly like myself won't be too happy about it. I'm
already having a really hard time finding the red pixels on diffs without

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120615/aa341071/attachment.html>

More information about the webkit-dev mailing list