iflPPM(3) Image Format Library C++ Reference Manual iflPPM(3)
iflPPM - PPM file format
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 [Toc] [Back]
The followng tag values are supported with getItem():
iflStatus getItem(iflPPMwriteASCII, int* on)
This function returns TRUE in 'on' if ASCII output is enabled; FALSE
TAG VALUES FOR SET ITEM [Toc] [Back]
The followng tag values are supported with setItem():
iflStatus setItem(iflPPMwriteASCII, int on)
This function can be used to enable ASCII output while writing a PPM
file, by setting 'on' = TRUE.
PPPPaaaaggggeeee 1111 [ Back ]