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

Tony Payne tpayne at chromium.org
Fri Jun 15 16:24:07 PDT 2012


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.

Thanks,
Tony

The CL in question is https://bugs.webkit.org/show_bug.cgi?id=89253
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120615/0bfc015c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: embed-attributes-style-diff.png
Type: image/png
Size: 17835 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120615/0bfc015c/attachment-0001.png>


More information about the webkit-dev mailing list