| GIMP Config Library Reference Manual | ||||
|---|---|---|---|---|
GimpColorConfig;
enum GimpColorManagementMode;
enum GimpColorRenderingIntent;
"cmyk-profile" GimpConfigPath : Read / Write / Construct "display-module" gchararray : Read / Write / Construct "display-profile" GimpConfigPath : Read / Write / Construct "display-profile-from-gdk" gboolean : Read / Write / Construct "display-rendering-intent" GimpColorRenderingIntent : Read / Write / Construct "mode" GimpColorManagementMode : Read / Write / Construct "out-of-gamut-color" GimpRGB : Read / Write / Construct "printer-profile" GimpConfigPath : Read / Write / Construct "rgb-profile" GimpConfigPath : Read / Write / Construct "simulation-gamut-check" gboolean : Read / Write / Construct "simulation-rendering-intent" GimpColorRenderingIntent : Read / Write / Construct
typedef struct {
GimpColorManagementMode mode;
gchar *rgb_profile;
gchar *cmyk_profile;
gchar *display_profile;
gboolean display_profile_from_gdk;
gchar *printer_profile;
GimpColorRenderingIntent display_intent;
GimpColorRenderingIntent simulation_intent;
gchar *display_module;
gboolean simulation_gamut_check;
GimpRGB out_of_gamut_color;
} GimpColorConfig;
typedef enum
{
GIMP_COLOR_MANAGEMENT_OFF, /*< desc="No color management" >*/
GIMP_COLOR_MANAGEMENT_DISPLAY, /*< desc="Color managed display" >*/
GIMP_COLOR_MANAGEMENT_SOFTPROOF /*< desc="Print simulation" >*/
} GimpColorManagementMode;
typedef enum
{
GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL, /*< desc="Perceptual" >*/
GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC, /*< desc="Relative colorimetric" >*/
GIMP_COLOR_RENDERING_INTENT_SATURATION, /*< desc="intent|Saturation" >*/
GIMP_COLOR_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC /*< desc="Absolute colorimetric" >*/
} GimpColorRenderingIntent;
"cmyk-profile" property"cmyk-profile" GimpConfigPath : Read / Write / Construct
The CMYK color profile used to convert between RGB and CMYK.
Default value: NULL
"display-module" property"display-module" gchararray : Read / Write / Construct
Default value: "CdisplayLcms"
"display-profile" property"display-profile" GimpConfigPath : Read / Write / Construct
The color profile of your (primary) monitor.
Default value: NULL
"display-profile-from-gdk" property"display-profile-from-gdk" gboolean : Read / Write / Construct
When enabled, GIMP will try to use the display color profile from the windowing system. The configured monitor profile is then only used as a fallback.
Default value: FALSE
"display-rendering-intent" property"display-rendering-intent" GimpColorRenderingIntent : Read / Write / Construct
Sets how colors are mapped for your display.
Default value: GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL
"mode" property"mode" GimpColorManagementMode : Read / Write / Construct
Mode of operation for color management.
Default value: GIMP_COLOR_MANAGEMENT_DISPLAY
"out-of-gamut-color" property"out-of-gamut-color" GimpRGB : Read / Write / Construct
The color to use for marking colors which are out of gamut.
"printer-profile" property"printer-profile" GimpConfigPath : Read / Write / Construct
The color profile used for simulating a printed version (softproof).
Default value: NULL
"rgb-profile" property"rgb-profile" GimpConfigPath : Read / Write / Construct
The default RGB working space color profile.
Default value: NULL
"simulation-gamut-check" property"simulation-gamut-check" gboolean : Read / Write / Construct
When enabled, the print simulation will mark colors which can not be represented in the target color space.
Default value: FALSE
"simulation-rendering-intent" property"simulation-rendering-intent" GimpColorRenderingIntent : Read / Write / Construct
Sets how colors are converted from RGB working space to the print simulation device.
Default value: GIMP_COLOR_RENDERING_INTENT_PERCEPTUAL