Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darktable-cli: export to JPEG XL format does not write image metadata #17565

Open
maver2 opened this issue Sep 30, 2024 · 4 comments
Open

darktable-cli: export to JPEG XL format does not write image metadata #17565

maver2 opened this issue Sep 30, 2024 · 4 comments
Labels
no-issue-activity scope: DAM managing files, collections, archiving, metadata, etc.

Comments

@maver2
Copy link

maver2 commented Sep 30, 2024

Describe the bug

When using darktable-cli to export a Nikon raw image file to JPEG XL (JXL) format, the exported jxl file does not contain the metadata of the original raw file, tested with exiftool and digiKam. Exiftool only lists a few file-related data and info derived from jxl-image like width, height and megapixels. DigiKam does not list any metadata.

For comparison:
these procedures produce exported files containing many (all) metadata:

  • Manually exporting with darktable (GUI) using the export module and activating all options in the export settings
  • exporting with darktable-cli to PNG format.

Steps to reproduce

  1. open a terminal
  2. export to jxl: run darktable-cli imgfile.NEF imgfile.NEF.xmp imgfile.jxl
  3. check metadata: run exiftool imgfile.jxl
  4. search for metadata like focus length, camera or lens model

Expected behavior

the exported file should contain all the Exif, manufacturer data, IPTC data of the original raw file. and image metadata

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

distro packaging

darktable version

4.8.1

What OS are you using?

Linux

What is the version of your OS?

Manjaro Linux up-to-date on 2024-09-30 (rolling release)

Describe your system?

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

@kmilos
Copy link
Contributor

kmilos commented Sep 30, 2024

See also #17534, #17429, #15388 (and maybe some other related issues).

As explained in the release notes, due to limitation in exiv2 write support (which makes behavior different to e.g. JPEG/PNG/TIFF) and privacy concerns, it is currently possible to export metadata to JPEG XL only if all the boxes are explicitly checked in the GUI (i.e. "opt-in"). Not sure if there is a way to enable those from the CLI...

@kmilos
Copy link
Contributor

kmilos commented Sep 30, 2024

@TurboGit I wouldn't close/reject this just yet, it might indeed be worth exploring how to achieve the same feature parity from CLI, if possible... (Note that this also affects AVIF, EXR and XCF.)

@TurboGit TurboGit reopened this Sep 30, 2024
@TurboGit
Copy link
Member

Ok reopen then. I've probably fired too fast given the number of issue (expected and documented) requests we have with JXL & metadata :)

@ralfbrown ralfbrown added the scope: DAM managing files, collections, archiving, metadata, etc. label Sep 30, 2024
Copy link

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity scope: DAM managing files, collections, archiving, metadata, etc.
Projects
None yet
Development

No branches or pull requests

4 participants