No description
  • C 98.1%
  • Meson 1.9%
Find a file
2024-06-10 12:58:33 +09:00
lisiblepng Revert "Setup cross-compilation for playdate" 2024-06-10 12:52:20 +09:00
lisiblepng-bin Revert "Make LisPng_decode use a u8* instead of a FILE*" 2024-06-10 12:52:15 +09:00
subprojects Upgrade lisiblestd to v0.3.0 2024-06-10 12:58:33 +09:00
.gitignore Use lisiblestd-0.1.0 2024-05-20 02:15:11 +09:00
CHANGELOG.md Use lisiblestd-0.1.0 2024-05-20 02:15:11 +09:00
meson.build Revert "Setup cross-compilation for playdate" 2024-06-10 12:52:20 +09:00
README.md Add lisiblepng-bin informations to README.md 2024-03-05 19:20:30 +09:00

LisiblePNG - a PNG decoder

This PNG decoder is meant to be used in my other C projects.

Supported features

This is a simple implementation of a PNG decoder, it currently implements the following features:

  • IHDR, IDAT and IEND chunks
  • Greyscale wihout alpha
  • Truecolour without alpha, without palette
  • 1 to 16 bit depth samples
  • All PNG filtering methods

Alpha channels, interlacing, paletted images and non-mandatory chunks are not supported.

Building

meson setup <builddir>
meson compile -C <builddir>

CLI

lisiblepng-bin is a program that decodes a PNG and outputs it as a PPM image to stdout. Usage is as follow:

lisiblepng <image_path>