-
Notifications
You must be signed in to change notification settings - Fork 329
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
Issue loading float DNG file from Photomatix7 #7263
Comments
Please share your files via a different, trusted service. Wild guess (as your method for metadata extraction only dumps tags for the embedded preview/thumbnail and not the main/raw image): HDRMerge doesn't use deflate compression for the float DNGs, while Photomatix does. One needs to double-check if LibRaw used by RT is built w/ zlib support then. Or you simply need to try w/ RT 5.11 first, as 5.10 doesn't use LibRaw and probably doesn't support compressed float DNGs anyway... |
hm, - the files are on my private webspace, seems the ssl certificate expired good idea checking whether its deflate. forgot to mention i'm running rt 5.11 |
They're both deflate compressed, but the Photomatix one is demosaiced 3-channel "LinearRaw", looks like that is somehow not supported... Edit: Indeed,
|
awesome find, makes sense there's no debayering options then but good to know that photomatix doesn't create raw dng files - i was hoping to improve my previous .exr workflow and directly develop the merged bracket in rt without the need for intermediate files. that wouldnt work anyways with an rgb dng |
Ah, the message above is only about writing out the data to disk by |
Since LibRaw can read the image and RawTherapee is trying to use dcraw instead, the fix could be as easy as detecting the dng type and using LibRaw for that type. |
I created a pull request with the code that can read the Photomatix DNG. |
Trying to open a 32 bit float image generated by Photomatix7, rawtherapee doesn't seem to understand how to interpret that file. The preview turns black when trying to develop it and no options for demosaicing are listed.
When clearing the processing profile/deleting the .pp3 the preview is displayed correctly again - so apparently rt can load the thumbnail from the raw file
A 32 bit float dng generated with hdrmerge can be developed just fine however, both files can be opened/developed by AffinityPhoto
to make sure it's not a DNG 1.7 issue, checked with exiftool and both .dng files have DNG version 1.4 with 32bit float samples. comparing the exif tag values (via python+exifread) they also seem identical - image make and model are present, so rt should be able to identify it's a camera with an x-trans sensor?
...so perhaps it's an issue with the exif tag locations? but copying the exif from the hdrmerge file over to the photomatix file also doesn't change anything
i uploaded the two .dng files in question here:
https://nuki.m4studios.at/_DSF3289And8more_photomatix.dng
https://nuki.m4studios.at/_DSF3289And8more_hdrmerge.dng
and here's the exif info of both files (read via python/exifread):
_DSF3289And8more.txt
The text was updated successfully, but these errors were encountered: