LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

dcraw_make_mem_image - no error reported in low memory situation

Hi,
I'm using LibRaw to decode Sony ARW files.
One option of my code is to allow user to specify they'd like RGB output instead of RGGB.
When this option is chosen I call dcraw_process (result is LIBRAW_SUCCESS), followed by dcraw_make_mem_image with address of my result-code int.

This works great when memory is available.
However, when memory gets tight, this call appears to fail (returns NULL), but the error code is not populated (per "...If caller has passed not-NULL value as errorcode parameter, than *errorcode will be set to error code...").

Forums: 

Sony IMX sensors in machine vision camera

Hello everybody, We use machine vision camera's for taking automated photo's and want to use the raw image (rather than the JPEG) to increase picture quality. The camera's using sensors like Sony IMX304 and other models. Not the sort of sensors that are used in photo camera's. What is the best reoute to use LibRaw? Thanks in advance.
Regards Pim

Forums: 

panasonic 14 bits

Hello,

For Panasonic 14 bits compressed images (like for the S1H camera), I wrote a decoder (in Pascal).
It is very similar to the 12 bits compressed, but differs in some details from the routine found in dcraw.
The cmp=4 is the code dedicated to 14bits compressed. cmp=3 is the code for 12 bits compressed inspired from dcraw.c - it's probably easy to rewrite it in C readinf the dcraw source in parallel.

The code ran correctly on all images I have pumped for this camera from photographyblog.com .

Cheers, Raoul de Nyon

Forums: 

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: 

Pages

Subscribe to RSS - LibRaw technical support