4 ms·
I'm going to favorite this because I REALLY want to understand it, bit I think I'm too tired right now to really appreciate it
by geoduck14 5y ago
I'm going to favorite this because I REALLY want to understand it, bit I think I'm too tired right now to really appreciate it
- nayuki 5y agoHope you feel refreshed in the morning. The core idea is that a PNG file contains an 8-byte signature followed by any number of chunks. The outside of every chunk has a regular layout: https://www.w3.org/TR/2003/REC-PNG-20031110/#5Chunk-layout https://www.w3.org/TR/2003/REC-PNG-20031110/#5Chunk-layout . But the inside of each type of chunk is different. There are many types of chunks, like: https://www.w3.org/TR/2003/REC-PNG-20031110/#5ChunkOrdering https://www.w3.org/TR/2003/REC-PNG-20031110/#5ChunkOrdering