Samsung S23 Ultra support

I like to request support for the above smartphone camera.
Thank you.


AFAIK, Samsung phones records

AFAIK, Samsung phones records more-or-less (*) normal DNG, so already supported

(*) some DNG files from latest Samsung devices contains incorrect thumnail data (while RAW data is OK)

-- Alex Tutubalin @LibRaw LLC

Recent Samsung models started

Recent Samsung models started putting out the "less" normal DNGs - the ljpeg compression is not a single stream, but has restart markers, don't know if LibRaw supports that...

The discussion will only make

The discussion will only make sense if specific problematic files are included.

At the moment, we do not have a single example of a file from Samsung on which RAW data would not be unpacked by LibRaw.

-- Alex Tutubalin @LibRaw LLC

See for

See for samples. LibRaw stops w/

"Only Bayer-pattern RAW files supported, sorry...."

Recent Samsung DNGs are not CFA, but "enhanced" 3-channel LinerRaw (like recent Apple iPhone ProRAW), and w/ ljpeg compression using restart markers...

Could you please provide

Could you please provide specific file link, not entire archive?

-- Alex Tutubalin @LibRaw LLC

Also: the message you quoted

Also: the message you quoted is from unprocessed_raw sample code. This sample, yes, supports bayer only (we're open to patches if someone want to complete this sample)

-- Alex Tutubalin @LibRaw LLC

Thanks, so unpacking works,

Thanks, so unpacking works, it's writing out to TIFF/PPM that doesn't.

dcraw_emu records tiff/ppm

dcraw_emu records tiff/ppm without problems.

unprocessed_raw sample code (not the library itself, but sample!) supports bayer only.

-- Alex Tutubalin @LibRaw LLC