Skip to content
Projects

DavidBuchanan314/ambiguous-png-packer

View on GitHub

DavidBuchanan314/ambiguous-png-packer has 1,060 GitHub stars and 31 forks. GitHot measured 0 stars in 24 hours and -2 in 7 days. Last checked 2026-11-12 07:37 UTC. Last push 2022-03-07.

How these counts are measured

Craft PNG files that appear completely different in Apple software [NOW PATCHED]

Measured star growth

in 24h
0
in 7 days
-2
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Ambiguous PNG Packer

Craft PNG files that appear completely different in Apple software

For context: https://www.da.vidbuchanan.co.uk/widgets/pngdiff/

UPDATE: Apple seems to have patched this now, I'm not sure in which version exactly

Sample output:

sample image

If you're viewing this via Apple software (e.g. Safari) you should see an image of a mac, and on other non-Apple software, you should see an IBM PC. (Note: If you're in Safari and still seeing the IBM PC, hit refresh a few times...)

As a bonus, here's a race condition I found in desktop macOS Safari:

race condition

You should see a slightly different image on each page refresh!

Here's a "live" version, which self-refreshes on each frame: https://www.da.vidbuchanan.co.uk/widgets/pngdiff/race.html

Explore related projects