looks-same icon indicating copy to clipboard operation
looks-same copied to clipboard

Comparing of transparent pixels is broken in iojs 3.0.0

Open LinusU opened this issue 10 years ago • 4 comments

For some reason two very similar images that contains semi-transparent pixels are considered different.

reference

accepted-1

current

fkog--4jj4w

diff

a

LinusU avatar Aug 22 '15 19:08 LinusU

Smaller example, enlarged 8x:

reference

accepted-1-large

current

fkog--4jj4w-large

diff

c-large

LinusU avatar Aug 22 '15 19:08 LinusU

This is how the images looks next to each other in Gimp, with a red background added.

screen shot 2015-08-22 at 21 32 49

One can see that there is a small small variance in the shading. I have the tolerance set to 5 however so that should work.

The strangest part about all this is that it works in Node.js 0.12 but not on iojs 3.0.

LinusU avatar Aug 22 '15 19:08 LinusU

Should be handled by #12

SevInf avatar Oct 23 '15 08:10 SevInf

@LinusU can you check it now with v3.1.0?

sipayRT avatar Nov 11 '16 14:11 sipayRT