QPx_GetImageFileColorProfile

QPx_GetImageFileColorProfile(imagePath; profileName):error
imagePath Text Full path to image file
profileName String255 Color profile name
error Longint Error result

Returns the color profile of an image.

The imagePath parameter contains the full pathname to the image file. If imagePath is empty, QPix presents a file selection dialog where the user can preview and select an image file. If the user selects a file, its full pathname is returned in imagePath, otherwise error qpx_userCancelErr is returned.

Parameter profileName receives the name of the color profile of the image. If the image does not contain a color profile, profileName is set to an empty string.

Related commands

QPx_GetImageFileInfo Gets image characteristics
QPx_GetImageFileColorSpace Returns the color space of an image

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:42:59