Recent comments

Reply to: LibRaw 0.20 supported cameras   12 months 3 days ago

Thanks.

Reply to: LibRaw 0.20 supported cameras   12 months 3 days ago

EOS R5/R6 support is expected in next 'public snapshot'

Reply to: LibRaw 0.20 supported cameras   12 months 3 days ago

Hi, when will it be compatible with the canon eos R5 camera?

Reply to: std::map with LibRaw   1 year 1 day ago

std::map test; -> std::map<std::string, LibRaw> test;

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

Leica M8 is bayer camera, so data is expected in imgdata.rawdata.raw_image

I suggest you to read the docs: https://www.libraw.org/docs/API-datastruct.html#libraw_rawdata_t

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

Hi Alex, I decode a leica M8 DNG file with unprocessed_raw compiled with adobe DNG SDK 1.5.1, after RawProcessor.unpack() with LIBRAW_SUCCESS return, I found both RawProcessor.imgdata.rawdata.color3_image and RawProcessor.imgdata.rawdata.color4_image is NULL. I can not get that unprocessed raw data. But use dcraw_emu without adobe DNG SDK, I can get a tiff file. and I can get an unprocessed data tiff file (called stage 1 data) with dng_validate, which is a sample of adobe dng sdk.
the sample file is here: https://www.dropbox.com/s/yheqp9lkvuut2ee/LEICA_M8.DNG?dl=0
another sample of Leica DMR DNG: https://www.dropbox.com/s/n9iee4b5rse4ukv/Leica_DMR_R8_L1185423.DNG?dl=0
the same problem as M8. :-(
thank you for your response

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

Thanks a lot.
It looks like BaselineExposure +2... is common for these files. Also, these samples displays correctly if BaselineExposure is applied.

BTW, in 1st file (11_2.5x) data maximum is 503 in green channel, so only 9 bits out of 12 are used.

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

BTW, if you have more samples from this camera, could you please share it, if possible?

In this specific sample, BaselineExposure tag is set way to high (+2.32), that results in too light rendering in Adobe tools.

it would be interesting to know is that tag setting is systematic, or resulted from some camera settings (e.g. highlight priority, resulting in underexposure)

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

Thanks Alex,I will try later.

Reply to: problem of decoding apple proRAW dng file   1 year 1 week ago

1) This is 'linear DNG' (demosaiced) with 12 bit data
| | 3) BitsPerSample = 12 12 12

So, expected 'real max' value is 4095. In reality it is 4136, that's why LibRaw's decoder warns about data corruption (data value is outside manifested limit)

2) unprocessed_raw sample supports only bayer (not demosaiced) files right now, so you may need to write some code
After LibRaw::open_file() and LibRaw::unpack(), the (unprocessed) data is accessble via
-imgdata.rawdata.color3_image as an array of 3-component pixels
or
- imgdata.rawdata.color4_image as an array of 4-component pixels (for 3-color DNG, 4th component will be always zero)

Only one pointer is not NULL, check before use.
Historically, Adobe DNG SDK fills colr3_image array, but libraw internal decoder(s) use color4_array

Reply to: Force Daylight WB?   1 year 2 weeks ago

Alternatively, one may use camera preset from imgdata.color.WB_Coeffs/WBCT_Coeffs if present for specific camera(raw file)

Reply to: Force Daylight WB?   1 year 2 weeks ago

When yo set use_camera_wb, LibRaw uses camera reported WB coefficients.
If not, 'daylight WB' coeffs are calculated from built-in color profile, this coeff may differ.

To avoid (most of) clipping due to auto bright, one may set auto_bright_thr to very low value (e.g. 0.0)

Reply to: Force Daylight WB?   1 year 2 weeks ago

A further note, probably irrelevant -- if I set no_auto_bright to zero, the white balance looks better - but some of the channels are clipped.

Reply to: Force Daylight WB?   1 year 2 weeks ago

When I set use_camera_wb and use_auto_wb both to zero, I get a yellow cast on the image. When I set use_camera_wb to 1 and take the same photo with camera WB set to daylight it there is no yellow cast. (Camera is Sony A7R4, but I get similar results from Olympus Pen-F). I can email you sample images if you don't believe me.

Is anything else that could affect WB?

Here is the code I am using to read and process the image:

// create an image processor

LibRaw iProcessor;

// open the file and read the metadata

err = iProcessor.open_file(pathname);
if(err != 0)
return(TRUE);

// set to 16-bit output

iProcessor.imgdata.params.output_bps = 16;
iProcessor.imgdata.params.no_auto_bright = 1;
iProcessor.imgdata.params.use_camera_wb = 0;
iProcessor.imgdata.params.use_auto_wb = 0;

// metadata is accessible through data fields of the class

nx = iProcessor.imgdata.sizes.width;
ny = iProcessor.imgdata.sizes.height;

// unpack the image

err = iProcessor.unpack();
if(err != 0)
goto error;

// process the image

err = iProcessor.dcraw_process();
if(err != 0)
goto error;

Reply to: Force Daylight WB?   1 year 2 weeks ago

draw_emu w/o switches (-w -a) and/or Libraw API w/o use_camera_wb/use_auto_wb processes images with daylight WB

Reply to: unexpected token `ZLIB,zlib,'   1 year 2 weeks ago

Line 16405 in ./configure provided with 0.20.2 (downloaded from this site) is empty.
Around this line are libjasper checks.

Also, there are no 'ZLIB,zlib' strings in provided configure script.

Have you re-generated ./configure (using, for example, autoreconf)?

Reply to: Lens Make   1 year 4 weeks ago

AFAIK, Exiftool has large internal LensID => Lens name databases and uses Makernotes data for lookup.

Reply to: CRAW Canon EOS R5   1 year 1 month ago

thanks a lot!! I will be checking it ;)

Reply to: CRAW Canon EOS R5   1 year 1 month ago

Next LibRaw public snapshot (or 0.21 release, whatever comes first) will support EOS R5 camera.

Reply to: CRAW Canon EOS R5   1 year 1 month ago

ok, but we use libraw in https://bitbucket.org/agriggio/art/wiki/Home that's why I am asking so ART can develop CRAW files ;)

Reply to: CRAW Canon EOS R5   1 year 1 month ago

RawDigger works with Wine.

Reply to: CRAW Canon EOS R5   1 year 1 month ago

Hello,

Seems it's supported since last release, I could not try since I work in linux heheh

Changelog
RawDigger 1.4.2 (2020-09-24)
Camera support:

Canon EOS R5, R6

Reply to: CRAW Canon EOS R5   1 year 1 month ago

Please check if RawDigger https://www.rawdigger.com/download supports the files. If it doesn't, please e-mail us - info@libraw.org

Reply to: CRAW Canon EOS R5   1 year 1 month ago

Can I help somehow? providing samples or similar? let me know thanks

Pages