Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 965 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 965 Bytes

picopdec

Simple PNG decoder implementation.

This project is intended for study and demonstration, not for practical use. The implementation is naive and inefficiency, so its decoding speed is VERY slow.

Limitations

  • support 8bit-'Truecolour'(RGB24) or 8bit-'Truecolour with alpha'(RGBA32) only
    • 'Grayscale' and 'Indexed-colour'(Palette) are not supported
  • interlaced PNG image is not supported
  • ignore all ancillary chunks in PNG format
  • output PPM(portable pixmap) image file only
    • write RGB channels, discard alpha channel for RGBA32 image

Specification

License

MIT License