### QPx_GetImporterColorSpace

QPx_GetImporterColorSpace(importerRef; colorSpace):error
| importerRef | Longint | Reference to a graphics importer instance
| colorSpace | Longint | Color space identifier
| error | Longint | Error result

Returns the color space of the image associated with a graphics importer.

The graphics importer instance is specified by importerRef. If importerRef does not refer to an existing graphics importer instance, the qpx_paramErr error code is returned.

Parameter colorSpace receives the color space of the image. The color space is identified with the following constants:

qpx_RGBColorSpace | 0x0001 | RGB color space
qpx_CMYKColorSpace | 0x0002 | CMYK color space
qpx_GrayColorSpace | 0x000A | Grayscale color space
qpx_RGBAlphaColorSpace | 0x0081 | RGB with alpha color space
qpx_GrayAlphaColorSpace | 0x008A | Grayscale with alpha color space

Related commands

QPx_GetImporterColorProfile | Returns the color profile of the image associated with a graphics importer

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:44:55