core: Add simulation intent and BPC to GimpImage

Adds a simulation_bpc and simulation_intent to GimpImage to allow 
plug-ins to access it
for CMYK import/export.
Four pdb functions were added to enable this access:
image_get_simulation_bpc (), image_set_simulation_bpc (), 
image_get_simulation_intent (), and image_set_simulation_intent ().
Next, it updates menu options and code to support GimpImage's
internal simulation intent and bpc.
New 'simulation-intent-changed' and 'simulation-bpc-changed signal 
are emitted via
GimpColorManagedInterface so that relevant tools 
(such as the
CYMK color picker, GimpColorFrame, and future pop-overs)
 are aware of these changes.
This commit is contained in:
Alx Sa 2022-08-10 15:01:15 +00:00 committed by Jehan
parent 08686fff8b
commit 0587a10543
29 changed files with 915 additions and 127 deletions

View file

@ -269,7 +269,9 @@ colorsel_water_create_transform (ColorselWater *water)
profile,
format,
format,
NULL);
NULL,
GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC,
FALSE);
}
}

View file

@ -1552,7 +1552,9 @@ gimp_color_wheel_create_transform (GimpColorWheel *wheel)
profile,
format,
format,
NULL);
NULL,
GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC,
FALSE);
}
}