QPx_GetImageFileColorProfile
QPx_GetImageFileColorProfile(imagePath; imagePath):error | |||
---|---|---|---|
![]() |
imagePath | Text | Full path to image file |
![]() |
profileName | Text | Color profile name |
![]() |
error | Longint | Error result |
Get 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 | Get the properties of an image file |
QPx_GetImageFileColorSpace | Get the color space of an image |