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

Leandro Pereira leandro at profusion.mobi
Fri Jun 15 17:53:54 PDT 2012


On Fri, Jun 15, 2012 at 8:24 PM, Tony Payne <tpayne at chromium.org> wrote:
> Looking at the code for CG, gtk and Win versions of ImageDiff, I think they
> already do something similar. Is this correct?

The GTK and Efl produces a grayscale image, where the pixel goes from
black (no difference) to white, gradually, proportional to the
euclidean distance between both pixel colors inside a RGB cube (sort
of, as alpha channel is also considered).

-- 
  Leandro


More information about the webkit-dev mailing list