LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

CR3 and 16 bit support

Hi,

I am trying to convert CR3 images to 16 bit fits files used RAW2FITS, which uses libraw. I have the newest libraw installed, which supports cr3.

When converting to 8 bit images, everything looks fine. However, when setting the output_bps to 16 everything is garbled, at the libraw level. First of all, pixel values are all still 8 bit (max values of 255) and their coordinates are wrong also.

Any help is appreciated.

-Merope

Forums: 

libraw errors with DNG files processed by Adobe LightRoom

Hi team,
I have a couple of DNG files that were created in Adobe LightRoom. You can find them here:

https://drive.google.com/drive/folders/1mxxENtJ6P51ksR6choAGbUSud451lNJX...

They fail when calling unpack() with the error "Corrupted data or unexpected EOF". Call to open_file works. Hence raw-identify is able to parse metadata from the file.

Forums: 

Fuji X-T4 Compressed Samples

I found some samples of Fuji X-T4 raws that LibRaw seems to have problems handling.

There seems to be a few things going wrong with this one. The version that parse_fuji_compressed_header() finds is version 0 which is not supported as the check is for version != 1. This image does appear to be compressed though (half the file size of a normal X-T4). Not sure if LibRaw will support a version 0 compression algorithm but just something I noticed, also all the other conditions are satisfied as true for the compression check.

Forums: 

Question for LibRaw installation

Hi guys,
I know a few people have asked this question, but no satisfied answer that I can find. So please help:

I am trying to install on Windows and using with visual studio.
And I don't understand this line in documentation:
"Set the environment parameters so that the compiler/linker would find the libraries and include-files. For Visual C++, this is done by running vcvars32.bat."

Forums: 

Noticeable difference between LibRaw and dcraw in DNG processing

Hello,

I'm experimenting with DNG images loading. I'm using LibRaw and I'm trying to achieve the same result as with dcraw processing, but I can't. White balance is different (see. image in the attachement).

dcraw command I'm using (it's dcraw 9.26 built from the source code):

dcraw -h sunset.dng

dcraw_emu command (it's LibRaw 0.20 built from the sources):

dcraw_emu -h -c 0 sunset.dng

Forums: 

Help required for understanding coordinates

Hi there,
I am a student, who tries to implement a routine for homework. I am totally new to this library and it took me a while to link it to my VS2019 environment. But now it basically works fine, but...

I am currently starting with a vertical slice of my homework. So I try to figure out, how to read out indivduell pixel color information. Unfortunately I pick implausible values.

Forums: 

Problems to compile libraw with gpr_sdk enabled

Hello,

I downloaded latest beta1 of libraw 0.20, compiled it with gcc 7.3 inside CodeBlocks IDE.
All is working fine.

No I enabled gpr_sdk as follows:
- I set both compiler options USE_GPRSDK and USE_DNGSDK
- I downloaded gpr_sdk from https://github.com/gopro/gpr as given in file README-GoPro.txt
I did no modification to any of these files
- I put the options where to find the *.h files and tried to compile libraw

Forums: 

Pages

Subscribe to RSS - LibRaw technical support