core: Add softproof profile to GimpImage

Adds a simulation_profile to GimpImage to allow plug-ins to access it
for CMYK import/export.
Two pdb functions were added to enable this access:
image_get_simulation_profile () and image_set_simulation_profile()
Next, it updates menu options and code to support GimpImage's
internal simulation profile. Menu items are moved from View to Image's
Color Management section.
New 'simulation-profile-changed' signal is emitted via
GimpColorManagedInterface so that relevant tools (such as the
CYMK color picker, GimpColorFrame, and future dockable
dialogue) are aware of these changes.
This commit is contained in:
Alx Sa
2022-05-31 20:59:31 +00:00
committed by Jehan
parent b02e47b035
commit 0d7fed93ae
37 changed files with 1066 additions and 326 deletions

View File

@ -60,7 +60,8 @@ GimpColorTransform * gimp_widget_get_color_transform (GtkWidget *widget,
GimpColorConfig *config,
GimpColorProfile *src_profile,
const Babl *src_format,
const Babl *dest_format);
const Babl *dest_format,
GimpColorProfile *softproof_profile);
G_END_DECLS