Portable Zipped PNM
This is an experimental project to create a minimal PNG like header only image library that :
- Is completely written in C and header-only
- Supports 8bit/16bit Monochrome/RGB/RGBA files
- Is as fast as possible in terms of image decoding speed
- Offers some form of compression (this repo compresses slightly better than PNG)
- Will hopefully be useful (to me personally) for my fast dataloader for training large neural networks
The only dependency apart from a C compiler is ZSTD ( https://github.com/facebook/zstd )
To get it :
sudo apt install libzstd-dev
To compile PZP use :
make
To test it :
make test
To debug it :
make debug
Similar tools are https://github.com/phoboslab/qoi or https://github.com/catid/Zpng