Remix.run Logo
▲ Each step of decoding a PNG (2022)(iter.ca)
25 points by jxmorris12 3 days ago | 4 comments
▲akersten an hour ago | parent | next [-]

I clicked "Show metadata chunks" and I don't understand the Critical vs Ancillary distinction. The Gamma, Color Space Information, Physical Dimensions, and Background Color sections all have a lowercase letter for their header. Aren't those critical to displaying the image properly? Meanwhile the Trailer IEND has an uppercase letter, indicating the zero-length outro byte is somehow more essential than all the color info?

Same question for safe/unsafe to copy. "Do programs that modify the PNG data need to understand this chunk?" Somehow, they need to understand the Last Modification Date before modifying the image, but no, they don't need to understand the Physical Dimensions(?)

▲ranger_danger 4 hours ago | parent | prev [-]

I think it would be a neat idea (if it doesn't exist already) to have a site with a collection of similar pages like this for many different formats.

▲WaitWaitWha an hour ago | parent | next [-]

Similar to the other comment "Bit-mapped Graphics" by Steve Rimmer [0] is an excellent reference.

[0] https://archive.org/details/bitmappedgraphic0000rimm

▲pan69 3 hours ago | parent | prev [-]

I still have this book on my bookshelf, but yes, maybe a web page per format might be easier to use these days.

https://archive.org/details/mac_Graphics_File_Formats_Second...