LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

MetaData

Using exiftool on a .CR2 photo converted to DNG, the following tags can be seen in the printout.

AS_SHOT_NEUTRAL
Raw Data Unique ID

However, when unpacking an image captured from the same camera (Canon 7D), I cannot find that data in the libRaw.imgdata structure, despite reading through the sub-structure data several times when in debug mode. I have found almost everything else needed.

I also scanned the documentation.

Any help wold be welcomed.

Thanks. Great library.

Forums: 

Extracting RAW histogram

Hi!
Is it straightforward to extract/build a RAW histogram (as a bitmap or even just as an array of values) from/using LibRAW?
I have a license for RawDigger and I'm using it for producing the histogram charts but I want to integrate this functionality into another application.
Thanks!
Assaf

p.s. I hope I'm posting in the right forum.

Forums: 

Generate configure script for Mac OSX

Hi,

first, thanks for your work on LibRaw, it is very much appreciated.

Now, i'm running into problems, when trying to build from the latest sources from github. (I used the zip-download from github.)

Some context: I'm on Mac OSX 10.8.5. I could successfully build libraw from latest release version (0.16 from libraw.org) via "./configure, make, make install".

But i could not find the 'configure' script in the github-zip. Is there a documented or recommended way to generate the configure script for Mac?

Forums: 

problem setting up gamma curve to use on .CR2 raw file

Hi,

I'm having a problem when trying to set up a gamma curve to use when processing data from .CR2 file.

The result is always the same (doesn't matter the values i set up).

Here's what my code looks like (pseudocode):

Rawprocessor;
Rawprocessor.openfile(file);
Rawprocessor.unpack();
Rawprocessor.imgdata.params.output_bps = 16;
 
Rawprocessor.imgdata.params.gamm[0] = 1.;
Rawprocessor.imgdata.params.gamm[1] = 1.;
 
Rawprocessor.dcraw_process();

Forums: 

Chromatic Abberation errors, blue halo

Hi!

I am using the default demosaicing functions in libraw (AHD), and i have the automatic chromatic abberation correction on. Often this works really well. Just sometimes however, this gives very strange results as can be seen in the attachment. I call it purple or blue halo's. I am absolutely sure it has to do with the chromatic abberation detection. Any ideas or questions?

Forums: 

Sony ILCE-6000 - problems reading raw image data from .arw files

Hello,

just tried to read in Sony ILCE-6000 raw image files, EXIF data seems to be ok, but the arrays with the rgb channels are filled with zeros. My routines have already worked with EOS 550d raw files. It seems that ILCE-6000 raw files are not compatible with your library. Any suggestions ?

Greetings,
lops

Forums: 

NarrowedType fixes for Clang

Hey,

I've was having some trouble compiling LibRaw a few months ago with LibRawLite using clang on OSX.

The source of the issue was incorrect sized types in internal/dcraw_common.cpp

The following errors were being thrown:

Constant expression evaluates to 128 which cannot be narrowed to type 'signed char'

Constant expression evaluates to 136 which cannot be narrowed to type 'signed char'

Constant expression evaluates to 65535 which cannot be narrowed to type 'short'

Forums: 

Pages

Subscribe to RSS - LibRaw technical support