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

Tony Payne tpayne at chromium.org
Fri Jun 15 16:32:01 PDT 2012


On Fri, Jun 15, 2012 at 4:27 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:

> 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
> zooming.
>

 Fair enough, but that doesn't address the basic premise of distinguishing
small deltas from large deltas. I'm sure we can find a UI that will work
that achieves the desired goal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120615/60c616ff/attachment.html>


More information about the webkit-dev mailing list