LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Canon 90D cr3 file command issue

we was using "dcraw.exe" to run the Canon 7D's cr2 file, the command are: -W -D -4.
Right now we used "dcraw_emu.exe" to run the Canon 90D's cr3 file,but we cannot got the same command like -W -D -4 (there is no -D "-D Document mode without scaling (totally raw)").
Could you let me know how can we get the same command -W -D -4 with the Canon 90D's cr3 file ?

Forums: 

Detect use of lossy compression in RAF

Is there a way to tell if a Fuji RAF file is using lossy compression? (Such as from the GFX-100 or X-T4.)

I get LIBRAW_IO_ERROR returned from unpack(), but I don't want to rely on that -- it could mean other things besides lossy compression. Ideally I'd like to check something in libraw_data_t that says what kind of compression it is, or even just a more general "not supported" indication.

Forums: 

libraw 0.20.0 returns incorrect D65 multipliers and rgb_cam for ERBG file

Hi,
I noticed that for the Sony F828 that has an ERBG sensor, the Daylight white balance multipliers returned by 0.20.0 is 2.094020 0.917032 1.222377 0.000000. However, on 0.19.5, the values are 2.094020 0.917032 1.222377 1.203671.

Similarly rgb_cam on 0.20.0 is
1.6726 -0.5983 -0.0743 0
0.0080 1.4036 -0.4116 0
0.0046 -0.4089 1.4043 0

but on 0.19.5 it is
1.6374 -0.2528 -0.0035 -0.3811
0.0672 0.8224 -0.5306 0.6410
-0.0009 -0.3551 1.4153 -0.0593

Is this expected?

Regards,
Dinesh

Forums: 

Differences in libraw behaviour between 0.19.5 and 0.20

Hi,
I recently upgraded from 0.19.5 to 0.20.0 and I noticed the difference in rendered sRGB output for many camera phone shot DNG files. I also noticed differences in the rgb_cam, cam_xyz and pre_mul values returned. I wanted to confirm if this is indeed intentional or a bug.

You can find a DNG file and the accompanying sRGB PNG files at this location below:
https://drive.google.com/drive/folders/1XiixDdUnsPY2TKcN-DzshNX2EmnA-EDY...

Forums: 

Using unprocessed_raw in Mac

I tried to use the compiled unprocessed_raw in the Mac but it it requesting for libSystem.B.dylib. See attached. I can't find that file.

Is it possible to run unprocessed_raw without installation? The intention is to include unprocessed_raw in my application app. So best option would be to have required libraries, dll included in a single executable file.

Han

Forums: 

Finding the bayer pattern for Canon T2i (550D)

I am using libraw for a CR2toFits conversion program i wrote. It extracts either a raw CFA image or a debayered RGB colour image and creates a FITs file. And since it's just for me, it only handles the Canon T2i CR2 files. I had been using libraw v0.19.2 but just upgraded to libraw v0.20.0.

I use librawFile.unpack() to load the raw data.
Then access the raw data use librawFile.imgdata.rawdata.raw_image[b] to read the sensor pixel values.

Forums: 

Pages

Subscribe to RSS - LibRaw technical support