Skip to main content
Participant
January 9, 2006
Question

How to get the RGB Working Space from within a Filter Plug-In?

  • January 9, 2006
  • 1 reply
  • 296 views
Within my Filter Plug-In I need to access the image's icc profile data. I know this can be accomplished with the according data structure 'iCCprofileData'. But what if there is no profile assigned to the image? Then iCCprofileData is NULL and the default should apply which is the 'RGB Working Space' (assuming the Plug-In works in RGB mode only, what it does). But how can I get to know what the 'RGB Working Space' is from within my Plug-In?
This topic has been closed for replies.

1 reply

Chris Cox
Legend
March 21, 2006
As far as I know, the profile provided to the plugin API should never be NULL. If the image is not color managed, it still should have the working space profile in the ICCProfileData field.