[digikam] [Bug 497814] New: Add Support for Configurable Output Color Profile When Editing with darktable

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Dec 23 07:48:22 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=497814

            Bug ID: 497814
           Summary: Add Support for Configurable Output Color Profile When
                    Editing with darktable
    Classification: Applications
           Product: digikam
           Version: 8.5.0
          Platform: Homebrew (macOS)
                OS: macOS
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Plugin-RawImport-Darktable
          Assignee: digikam-bugs-null at kde.org
          Reporter: qp.ding at outlook.com
  Target Milestone: ---

SUMMARY
It would be great if users can have control over the output color profile used
by the export module in darktable when using darktable as the raw import tool.

STEPS TO REPRODUCE
1. Set in "Digikam Configure ->  Image Editor -> Raw Behavior -> Always open
the Raw Import Tool to customized settings" as Raw Import using Darktable.
2. Select a raw image, click Image Editor, edit the raw file in the invoked
darktable instance.
3. Quit darktable after developing. Save changes in Digikam Image Editor UI,
get a *.jpeg file.

OBSERVED RESULT
The saved jpeg file has Linear Rec709 color profile.

EXPECTED RESULT
The saved jpeg file has a color profile upon user choice, or at least sRGB,
which is considered to be web-safe.

SOFTWARE/OS VERSIONS
macOS: Sequoia 15.2

ADDITIONAL INFORMATION
I am submitting this feature request out of two reasons.
1) Digikam itself has a buggy rendering when a jpeg file has a color profile
other than sRGB. My exported jpeg files (with Linear Rec709) from darktable
following the aforementioned workflow sometimes lead to a much darker rendering
in Digikam compared with their sRGB conversions. But I'll file a separate issue
on this.
2) Some apps on iOS 18 also cannot render the jpeg with Linear Rec709
correctly.

>From the internal debug log I can see that Digikam is invoking darktable
overwriting the settings in darktablerc with icctype=3 (default is icctype=-1):
```
digikam.dplugin.rawimport: DarkTable arguments: QList("--library", ":memory:",
"--luacmd",
"dofile('/private/var/folders/fm/scct14x5025d_05z2nyx9v800000gn/T/LuaScript-HUnnSU-4b48951f')",
"--conf", "plugins/lighttable/export/icctype=3", "--conf",
"lua/export_on_exit/export_filename=/private/var/folders/fm/scct14x5025d_05z2nyx9v800000gn/T/Darktable-GEVtBb-22ac5088",
"/System/Volumes/Data/Users/quinn/Pictures/digikam_garage/2024-12-21/20241221T141934_1.ARW")
```
which seems to set the output color profile to Linear Rec709 in a hard coded
manner. Can there be some flexibility in setting this color profile? I cannot
seem to find related settings after some googling.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list