- PNG
- Chunks ID
- Chunks
- Scanline (Pass)
- Filter ID
- Image Data
- Image Row
- Encoded Pixel
- Real Image
- Pixel
- Open file
- Check magic number
- Read chunks
- Load PNG metadata:
- Header
- Palette
- ...
- Load Image Data
- Image Row
- Image and Pixels
- Image to Image Data
- Update palette if needed
- Image Data to bytes
- Bytes to IDAT chunk(s)
- Update chunks
- Save all chunks in bytes to a file