LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Qt Windows 64-bit link fails with many errors

I'm porting my image processing application to Windows 10 with Qt 5.14. The port is complete, everything is functional, except for libraw, where I'm having problems linking the static library.

In your windows native building instructions, you say:

if static linking is necessary, one should link applications with library libraw_static.lib and set the preprocessor option /DLIBRAW_NODLL during compilation.

Forums: 

RawProcessor.imgdata.color.black is 0 for some Canon cameras

For my astro image calibration program I wish to use the RawProcessor.imgdata.color.black value but I have noticed for the Canon T5i and T7i this parameter is zero. For my Nikon D5300 the value is 600 which I believe is correct. I believe that for these Canon cameras the black level should be in the 2,000 to 3,000 range. Is there a better way to determine the correct black level?

Peter

Forums: 

GoPro sdk with latest Adobe dng SDK

Hi,

Thanks very much for libraw and for the latest update!

I'm trying to build libRaw with Gopro raw support against the current Adobe DNG sdk, as explained in README.GoPro.txt, but I can't get it to build. I'm using https://download.adobe.com/pub/adobe/dng/dng_sdk_1_5.zip

I've applied the patches you mentioned. Compilation of gpr_sdk fails with:

Forums: 

Sony A7 II and LibRaw 0.19

When I am processing raw files using LibRaw I check that the camera is supported by looking it up in the array of supported cameras pointed to by LibRaw::cameraList(). For most cameras so far this has worked well so long as I use a case independent comparison (e.g. Fujifilm versus FujiFilm). I do this so that I can warn users that their camera isn't supported by LibRaw because the results may not be as expected.

Forums: 

DNG image with YCbCr photometric

Hi,

I am sending a link to info (a..t) libraw.com for a DNG file that I would like to understand how to interpret. It seems to be color-encoded with YCbCr color. Yet, if I convert from YCbCr/YUV to RGB after demosaicing, I get an extreme color shift (using old dcraw code as a base).

Libraw *correctly* interprets the file, outputting a good RGB version. Also dcraw_emu correctly handles it.

Forums: 

Possible bug with Panasonic G9 hi-res raw files

Hello, I've recently come across some strange behavior related to the Panasonic Lumix DC-G9's hi-res mode raw files and apps that I believe use libraw for decoding (such as the photos app in windows with the raw codec).

The first issue I've experienced is an unnatural green tint with both the hi-res raw file and the 20mp raw file that gets taken simultaneously in the hi-res mode. A shot with the same settings but not utilizing the hi-res feature does not show this issue.

Forums: 

Pages

Subscribe to RSS - LibRaw technical support