Read embedded dcp profile from raw files

raw files, usually dng files, can provide a dcp profile by providing the
related tags.

This patch will make the "Use embedded" options in the color management
panel selectable if the source raw file embeds a dcp profile.
In this case the DCP panel will be enabled like when reading an external
dcp profile.

Additional changes:

* Rename "Use embedded, if possible" to just "Use embedded" since the
option is already disabled when no embedded profile is found.
* Update the "Use embedded" options tooltip as it's now not related to
  only non raw images.
This commit is contained in:
Simone Gotti
2024-02-26 11:32:01 +01:00
parent a5df36c569
commit 3e26976403
6 changed files with 41 additions and 27 deletions

View File

@@ -2634,8 +2634,8 @@ TP_ICM_INPUTCAMERA_TOOLTIP;Use a simple color matrix from dcraw, an enhanced Raw
TP_ICM_INPUTCUSTOM;Custom
TP_ICM_INPUTCUSTOM_TOOLTIP;Select your own DCP/ICC color profile file for the camera.
TP_ICM_INPUTDLGLABEL;Select Input DCP/ICC Profile...
TP_ICM_INPUTEMBEDDED;Use embedded, if possible
TP_ICM_INPUTEMBEDDED_TOOLTIP;Use color profile embedded in non-raw files.
TP_ICM_INPUTEMBEDDED;Use embedded
TP_ICM_INPUTEMBEDDED_TOOLTIP;Use the color profile embedded in the file.\nIf unavailable, fall back to Camera standard
TP_ICM_INPUTNONE;No profile
TP_ICM_INPUTNONE_TOOLTIP;Use no input color profile at all.\nUse only in special cases.
TP_ICM_INPUTPROFILE;Input Profile