Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iflColorModelName(3) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



iflTypeNames(3)   Image Format Library C++ Reference Manual    iflTypeNames(3)



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






                                                                        Page 1





iflTypeNames(3)   Image Format Library C++ Reference Manual    iflTypeNames(3)



          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






                                                                        Page 2





iflTypeNames(3)   Image Format Library C++ Reference Manual    iflTypeNames(3)



     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>


































                                                                        Page 3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026