Skip to content

Comment on Why does this png display differently in Chrome/Firefox than in Safari/IE?parent

Comments

My explanation is as follows: the original image uses a checkerboard pattern. When you make a thumbnail it removes some rows and columns to make the image smaller. When you remove all even rows and columns of a checkerboard the fields that are left are of the same color. Similarly when you remove odd rows and columns.

In this case black and white fields of a checkerboard correspond to pear and apple pixels, so you are left with one of the images.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.