NICE-core supports PPM and PGM images out of the box without any additional dependencies.
See the samples folder for sample images that work with the sample code from the tutorials.
The grayscale samples are 8-bit PGM files. You can use them with the following sample programs:
The color samples are 8-bit-per-channel PPM images. They work with the sample code from these tutorials: