iflPPM(3)
iflPPM - PPM file format
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME iflPPM - PPM file format HEADER FILE #include <ifl/iflPPM.h> DESCRIPTION This IFL format provides support for reading and writing image files with the Portable Bitmap format (PPM). This file format is suitable for archiving multicolor and monochromatic image data. It includes the formats PPM, PGM, PBM, PNM, RPPM, RPGM, RPBM, and RPNM. The default extensions for image files in the PPM format are '.ppm', When you create a file with one of these extensions IFL will assume you want the PPM format, unless you override it with the iflFormat parameter. In addition to all the standard iflFile methods, this format supprts an number of format specific operations via the getItem() and setItem() methods. The tag values supported by theses methods are enumerated in the following sections. TAG VALUES FOR GET ITEM The followng tag values are supported with getItem(): iflPPMwriteASCII iflStatus getItem(iflPPMwriteASCII, int* on) This function returns TRUE in 'on' if ASCII output is enabled; FALSE otherwise. TAG VALUES FOR SET ITEM The followng tag values are supported with setItem(): iflPPMwriteASCII iflStatus setItem(iflPPMwriteASCII, int on) This function can be used to enable ASCII output while writing a PPM file, by setting 'on' = TRUE.