Fl_RGB_Image | +----Fl_PNM_Image
#include <FL/Fl_PNM_Image.H>
-lfltk_images / fltkimages.lib
The Fl_PNM_Image class supports loading, caching, and drawing of Portable Anymap (PNM, PBM, PGM, PPM) image files. The class loads bitmap, grayscale, and full-color images in both ASCII and binary formats.
The constructor loads the named PNM image.
The destructor free all memory and server resources that are used by the image.