I have two images that do not work with LibRaw, though others from this camera decode correctly.
This one:
https://www.dropbox.com/scl/fi/0vdkkqsm3pz9wgekk1wfm/TR-SAM_2907.SRW?rlk...
does not load, returning an IOError
This one loads, but draws incorrectly:
https://www.dropbox.com/scl/fi/ogk03kiii4wiivxj1glvc/TR-SAM_2908.SRW?rlk...
Both load and display properly in FRV, but do not work with the latest source on GitHub. I can reproduce this with my app and also with Affinity Photo.
I attached what the 2908 image looks like when decoded.
Any help is appreciated. Thanks.
-G
| Attachment | Size |
|---|---|
| 631.89 KB |

Thank you for the samples
Thank you for the samples provided.
We'll consider adding Samsung lossy compression support into some version of public LibRaw.
-- Alex Tutubalin @LibRaw LLC
New Samsung v3 decoder is
New Samsung v3 decoder is available in LibRaw 0.22-preRC1: https://www.libraw.org/news/libraw-022-prerc1
Thank you again for samples provided!
-- Alex Tutubalin @LibRaw LLC
Still some images are not supported
I was waiting for 0.22 release expecting that my issue will also be resolved by this fix, but it is not. However, I see that original file from Garfield is now works fine, but this file from Samsung still does not. The error is "unpack failed". Can you please check what is wrong with this file?
https://drive.google.com/file/d/1U5HjaCkKDWCBjeAf-5CbaqjPuz9SFTnv/view?u...
This is JPEG-XL compressed
This is JPEG-XL compressed DNG file. Please build LibRaw with Adobe DNG SDK (version 1.7 or 1.7.1, do not forget to enable JPEG-XL support).
See details in the provided README.DNGSDK.txt
-- Alex Tutubalin @LibRaw LLC
It's not practical to wait
It's not practical to wait instead of submitting samples.
--
Iliah Borg