darktable icon indicating copy to clipboard operation
darktable copied to clipboard

OpenEXR exports doesn't have EXIF data

Open pablo-dra opened this issue 7 months ago • 8 comments

Is there an existing issue for this?

  • [x] I checked and did not find my issue in the already reported ones

Describe the bug

It seems that the Exif data (shutter speed, aperture, etc.) is not saved in the exported images if the file format used is OpenEXR (tried only on 16-Bit float). I need that info in the export for later use in other softwares.

Steps to reproduce

The process is

  • Take a raw photo file (.CR2)
  • Process it a bit
  • Export using the options named

Expected behavior

darktable should export the image with the Exif Data

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.0.1

What OS are you using?

Windows

What is the version of your OS?

Windows 11

Describe your system

No response

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

Nvidia 3080m

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

No response

pablo-dra avatar Jun 02 '25 18:06 pablo-dra

I need that info in the export for later use in other softwares.

What other software?

There is no standard way to exchange Exif metadata in OpenEXR images. The way darktable does it only GIMP understands (and vice versa).

In order to have that data, you need to check all boxes in the export preferences dialog.

I checked and did not find my issue in the already reported ones

See also https://github.com/darktable-org/darktable/issues/16121

kmilos avatar Jun 02 '25 18:06 kmilos

I need that info in the export for later use in other softwares.

What other software?

There is no standard way to exchange Exif metadata in OpenEXR images. The way darktable does it only GIMP understands (and vice versa).

In order to have that data, you need to check all boxes in the export preferences dialog.

I checked and did not find my issue in the already reported ones

See also #16121

I'm exporting Raw (.CR2) to OpenEXR to be later used in PTGui. It is used to create HDRI panoramas for CGI purposes.

I checked the preferences and Exif and metadata are enabled

Image

Basically PTGui doesn't read any info like shutter speed, and so on. So it is unable to understand the bracketed set of images to create the TrueHDR panorama.

If you are able to correct this you will be a savior!

pablo-dra avatar Jun 02 '25 18:06 pablo-dra

It does say ALL boxes...

In any case, I don't think PTGui understands this convention between darktable and GIMP, so you'll have to check their support channels.

Again, there is no good way to exchange metadata w/ OpenEXR. You might want to choose a different format.

kmilos avatar Jun 02 '25 18:06 kmilos

@kmilos I tested it with checking all the boxes too right now, and PTGui still doesn't read it unfortunately. It would have been great.

Do you know which format could be equivalent for getting a Linear Raw file? OpenEXR seemed to be the best.

I'm trying with TIF 16-Bit with Linear Rec2020 RGB as output color, but it seems not to work as expected.

My ultimate goal is to retouch the Raw and then get an Export that is equivalent to the Raw file (with the metadata and Exif).

I tested it with Rawtherapee and the output was ok. I didn't touch the default color output, so I don't know exactly which it uses or if it differs too much from Darktable.

It would be great to know

pablo-dra avatar Jun 02 '25 18:06 pablo-dra

I don't know what PTGui supports in terms of formats.

You might want to seek further advice on https://discuss.pixls.us/ from experienced users, as GitHub is a place for dealing w/ actual bugs.

If there are no other issues w/ dt, please consider closing this one.

kmilos avatar Jun 02 '25 18:06 kmilos

There are “standard basic attributes” in EXR format for exposure time (expTime), lens aperture (aperture) and others. It’s just not EXIF, so it’s not a simple copy from original file, but instead metadata has to be interpreted and converted to EXR convention. No idea though if PTGui reads those attributes…

parafin avatar Jun 02 '25 19:06 parafin

Indeed, and dt already tries to parse some of those attributes on import. I suppose someone could go through the trouble to translate from Exif to a subset of OpenEXR attributes on export as well...

kmilos avatar Jun 02 '25 19:06 kmilos

There are “standard basic attributes” in EXR format for exposure time (expTime), lens aperture (aperture) and others. It’s just not EXIF, so it’s not a simple copy from original file, but instead metadata has to be interpreted and converted to EXR convention. No idea though if PTGui reads those attributes…

I can tell you that PTGui doesn't read the OpenEXR, It does read it from files as Tif. I'm doing a continuation of "apparent issue with the Tif format here"

pablo-dra avatar Jun 02 '25 19:06 pablo-dra

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.

github-actions[bot] avatar Aug 24 '25 00:08 github-actions[bot]