Food for thought... Skia's "skdiff" tool generates two diff images for each
image pair:

   - 1. every pixel which is different at all between images 1 & 2 shows up
   as white
   - 2. every pixel shows the color difference between images 1 & 2  (much
   more subtle)

For an example of what this looks like, see

On Fri, Jun 15, 2012 at 7:24 PM, Tony Payne <> 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.
> Thanks,
> Tony
> The CL in question is
> _______________________________________________
> webkit-dev mailing list
webkit-dev mailing list

Reply via email to