iflTypeNames(3)
iflDataTypeName, iflOrientationName, iflOrderName, iflColorModelName, iflCompressionName - convenience functions IFL enumerated types to strings
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME iflDataTypeName, iflOrientationName, iflOrderName, iflColorModelName, iflCompressionName - convenience functions IFL enumerated types to strings SYNOPSIS #include <ifl/iflTypeNames.h> char* iflDataTypeName(iflDataType type); char* iflOrientationName(iflOrientation orientation); char* iflOrderName(iflOrder order); char* iflColorModelName(iflColorModel cm); char* iflCompressionName(iflCompression compress); DESCRIPTION These functions operate on various IFL enumerated type values and are provided for convenience. Each function is stand-alone and is not a member function of any object. The enumerated types used in the IFL are defined in <ifl/iflTypes.h>. Any values beyond those defined in the header file will be translated as "unknown". To translate an iflDataType value to it's string equivalent, use iflDataTypeName() The IFL data types will be translated as follows: iflBit bit iflUChar unsigned char iflChar char iflUShort unsigned short iflShort short iflUInt unsigned integer iflInt integer iflFloat float iflDouble double To translate an iflOrientation value to it's string equivalent, use iflOrientationName() The IFL orientations will be translated as follows: iflUpperLeftOrigin upper-left iflUpperRightOrigin upper-right iflLowerRightOrigin lower-right iflLowerLeftOrigin lower-left iflLeftUpperOrigin left-upper iflRightUpperOrigin right-upper iflRightLowerOrigin right-lower iflLeftLowerOrigin left-lower To translate an iflOrder value to it's string equivalent, use iflOrderName() The IFL orders will be translated as follows: iflInterleaved interleaved iflSequential sequential iflSeparate separate To translate an iflColorModel value to it's string equivalent, use iflColorModelName() The IFL color models will be translated as follows: iflNegative greyscale, minimum value white iflLuminance greyscale iflLuminanceAlpha greyscale with alpha iflRGB RGB iflRGBA RGBA iflRGBPalette color index iflHSV HSV iflCMY CMY iflCMYK CMYK iflBGR BGR iflABGR ABGR iflMultiSpectral multi-spectral iflYCC YCC To translate an iflCompression value to it's string equivalent, use iflCompressionName() The IFL compressions will be translated as follows: iflNoCompression none iflCCITTFAX3 CCITT Group 3 iflCCITTFAX4 CCITT Group 4 iflLZW Lempel-Ziv & Welch iflPACKBITS Mac-RLE iflSGIRLE SGI-RLE iflJPEG JPEG iflZIP ZIP deflate/inflate SEE ALSO <ifl/iflTypes.h>