LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Trying to use libRAW 0.20.2 in FreeImage 3.18.x

Hello,

maybe someone can help me with this:
-> I am trying to get the actual LibRaw 0.20.2 into FreeImage 3.18.0. Due to the reorganized code in LibRaw 0.20.2 i get the following error in the PluginRAW.cpp of FreeImage: "Identifier 'substream' not declared"

It seems the 'substream' has been declared within LibRaw before, with the version 0.19_201910_snapshot and the 0.19.5 rc it works fine to put the LibRaw code into FreeImage 3.18.x and build that library.

Hopefully someone has an idea, as a I am trying to figure this out for days...

Forums: 

std::map with LibRaw

I have a problem with LibRaw(0.20.2, MSVC2012) using std::map

Here is the test code
----------------------------------------------------------------------
std::map test;
test["elem1"].imgdata.params.user_qual = 10;
----------------------------------------------------------------------

There is no compile error, but runtime error occurs at

"test["elem1"].imgdata.params.user_qual = 10;"

I don't know why std::vector is work well but std::map is NOT work well.....
Does anyone know how to fix this error?

Forums: 

Force Daylight WB?

Is there a way to force raw processing to use daylight WB? I would like to ignore WB as set in the camera and process all images using daylight WB. With no WB selected, the images I have tested seem to come out with a yellow cast. While this can be corrected using an ICC profile afterwards, it would be nice to use a starting point closer to an accurate target rendition.

Forums: 

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: 

Pages

Subscribe to RSS - LibRaw technical support