LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

compile latest code

first - thank you for all the new code

my working (tested on other libraw) will not compile the new code

for now just eg the samples

I use make -f makefile.mingw

my ignorance

error
no matching function for call to "std::basic_filebuf:: open(const wchar_t*,std::_IosOpenmode) etc etc

looks like my compile string is incomplete

help please

Forums: 

OV5647 (Raspberry Pi)

I try to use RAW files from an OV5647 sensor for DeepSkyStacker 4.2.2.
Unfortunatelly the files can not be read.

DeepSkyStacker uses LibRaw 0.19.3 which supports OV5647.
How should the RAW files look like to be readable with LibRaw? Maybe the Raspberry Pi alters the files so they are not as expected by LibRaw.

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: 

unpack() performance?

Hi everyone,

I am new to LibRAW and I am wondering if the unpack() performance should be that slow. I am using LibRAW on a Windows 32-bit program and unpack()+dcraw_process() take around 20 seconds for a typical 6000x4000 image. I tried several RAW file formats: NEF, CR2, Sony, Olympus and all file load very slowly.

Then I took a look at FastRawViewer that is using LibRAW and (if I am right) do not display a JPEG preview, and it load the same RAW files in 1 second!

Forums: 

Pages

Subscribe to RSS - LibRaw technical support