Feature #885

Exif read/write on HDR images

Added by Daniel Kaneider almost 4 years ago. Updated 9 months ago.

Status:AssignedStart date:01 Mar 2013
Priority:NormalDue date:
Assignee:Robin Mills% Done:

0%

Category:image format
Target version:0.27

Description

Hi,

it would be nice if exiv2 could read/write information on HDR image file formats. Both RadianceHDR (.pic, .hdr) and OpenExr (.exr) seem to support a kind of custom data to store along with the image.

The use case for such a feature would be to store camera information from the original raw/jpeg files into the created hdr file. In such a way it would be possible to open the Hdr file and still have all exif information, which then could be stored into the newly created tonemapped (jpeg) image.

Additional information:

Thanks,

Daniel
Luminance HDR Team

History

#1 Updated by Robin Mills almost 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 1.0

Daniel

I agree. This is a very good idea.

Last summer we had a GSoC (Google Summer of Code) student work on the video code and he did a very good job. We've proposed two projects this year and one of them is to provide support for more formats. We didn't list HDR as a goal, because nobody on the Exiv2 team mentioned it! http://community.kde.org/GSoC/2013/Ideas#Project:_Video_Metadata_Support_Improvements

I'll assign this issue to me and perhaps it'll be dealt with this summer.

I'm the project mentor for our other proposal (to make Exiv2 "Cloud Ready"). However I'll assign this issue to myself for now, however the intention is to find a volunteer.

Thank you for suggesting this. It's always nice to hear from you.

Robin

#2 Updated by Robin Mills over 3 years ago

Deferred. This was discussed as a possible project to be undertaken by Google Summer of Code 2013 students. In the end, it lost out to the "Video Write" and "Cloud Ready". Perhaps it will be undertaken in GSoC2014.

#3 Updated by Robin Mills over 3 years ago

  • Target version changed from 1.0 to 0.25

#4 Updated by Robin Mills almost 2 years ago

  • Target version changed from 0.25 to 0.26

Deferred to v0.26. Insufficient time to deal with this for v0.25.

#5 Updated by Robin Mills almost 2 years ago

  • Assignee deleted (Robin Mills)

#6 Updated by Robin Mills about 1 year ago

  • Target version changed from 0.26 to 1.0

#7 Updated by Tobias E. 9 months ago

darktable and GIMP support EXIF+XMP in EXR files by using a non-standard tag. IPTC could be added the same way, it's just not done at the moment. It would be great if this was made into the "standard" way to add metadata to EXR files.

You can see the sample code here:

darktable:

writing: https://github.com/darktable-org/darktable/blob/master/src/imageio/format/exr.cc#L112-L126
reading: https://github.com/darktable-org/darktable/blob/master/src/common/imageio_exr.cc#L121-L125

GIMP:

reading: https://git.gnome.org/browse/gimp/tree/plug-ins/file-exr/openexr-wrapper.cc#n303

and shared by both the blob type: https://github.com/darktable-org/darktable/blob/master/src/common/imageio_exr.hh

#8 Updated by Robin Mills 9 months ago

I've started to prepare the plan for v0.27 and that will include support for more image formats. I've add HDR to that list: http://dev.exiv2.org/news/3

#9 Updated by Alan Pater 9 months ago

Tobias E. wrote:

darktable and GIMP support EXIF+XMP in EXR files

Perhaps they could be convinced to take on the task of adding this support to exiv2? As they both use exiv2 and already have knowledge of the openEXR format, would that not be better then everyone reinventing the wheel in possibly incompatible ways?

by using a non-standard tag.

That sounds dangerous.

IPTC could be added the same way, it's just not done at the moment.

Sure, why not?

It would be great if this was made into the "standard" way to add metadata to EXR files.

If it is already a defacto standard, it could be supported. If not, a proper standard could be developed, agreed upon and documented.

#10 Updated by Robin Mills 9 months ago

  • Assignee set to Robin Mills
  • Target version changed from 1.0 to 0.27

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux