fltk_pnm_image_new

fnFltkPnmImage fltk_pnm_image_new(const(char) * filename)

Creates a new PNM image from a file.

Supports PNM, PBM, PGM, PPM formats in both ASCII and binary.

Parameters

filenamePath to PNM file

Returns

New PNM image handle, or null on failure