GetTiffColorSpace  Method

Description         Retrieves the color space of the TIFF image. Available color spaces: YUV, YIQ, XYZ, LAB, CMY, HSI, HSV. The color space information stores in the PHOTOMETRICINTERPRETATION tag.

                            Available tags:

            PI_YUV         10

PI_CMY         11

PI_YIQ           13

PI_HSV          14

PI_HSI            15

PI_XYZ          16

PI_LAB          17

 

Syntax                 RetVal = [BITIFF.]GetTiffColorSpace lpszFileName nImage

Returns               RetVal                    Integer             Color space of the image, -1 on error.

Remarks             lpszFileName         String              Path to the TIFF file.

See Also              LoadNonRGBTiffIntoDIB Method, SaveNonRGBDIBInTiffFile Method