Skip to content

Support HDR DNG images from HDRMerge #39

@Beep6581

Description

@Beep6581

I will paste the correspondence I had via email, as it is good to have this public so that other people can take part in the discussion.

On 8/14/2014 1:32 PM, Beep6581 wrote:
Hi

HDRMerge is an awesome FOSS program from Javier Celaya for generating a high
dynamic range raw image in the DNG format from a bracketed raw set.
https://github.com/jcelaya/hdrmerge

Please add support for correctly reading the thumbnails and embedded preview
from these raw images. They follow standards and should therefore be
supported.
You can download a sample image here:
http://rawtherapee.com/shared/test_images/hdrmerge_045.dng

I was informed I should ask you directly:
https://bugs.kde.org/show_bug.cgi?id=338081
As I can't find your bug tracker anywhere, I'm doing this via direct contact.
If you have one, please file the request on my behalf.

Kind regards

On 2014-08-14 04:57, Alex Tutubalin wrote:

Hi,

LibRaw's main goal is RAW data decoding, so LibRaw::open_file() call
will return 'success' only if known RAW data is found in file.
Unfortunately, high-bit integer and floating point RAWs (DNGs) are not
supported due to LibRaw's internals specifics.

So, there is no way to support thumbnails/previews in unsupported
format without API break.

You may use some EXIF management library (e.g. exiv2) to extract
metadata and previews.

Alex Tutubalin, LibRaw team

These HDR DNG images are raw, they are not demosaiced. Furthermore, they are structured "by the book" as per the DNG specification. This includes the embedded JPEG thumbnail and preview.
My request is that libraw at least allows the extraction of these embedded JPEG thumbnails and preview images (I was lead to believe by Caulier Gilles that digiKam relies on libraw to extract these embedded JPEGs - is this correct?) if raw decoding and demosaicing is not possible.

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions