LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

dcraw_process XYZ output

Hi.

I'm trying different values for imgdata.params.output_color.
I took a test picture where all channels did clip, and use cam_mul.

Using in imgdata.params.output_color=1 (sRGB), I get as average R=1, G=1, B=1 (*65535).
This is exactly what I expected since all the channels have clipped: I get D65 white. :)

Now I try imgdata.params.output_color=5 (XYZ).
I was expecting to get D65 white, which is (normalized to Y=1):
X=0.95, Y=1, Z=1.09.

I get
X=0.95, Y=1, Z=1 (*65535).

Forums: 

error while loading shared libraries: libraw.so.15: cannot open shared object file

I've installed libRaw and am compiling the sample .cpp file provided by this command (seen from another discussion):
>> g++ libRaw.cpp -o q -lraw -lm
However, when i run the file,
>> ./q
I get the following error:
./q: error while loading shared libraries: libraw.so.15: cannot open shared object file: No such file or directory

As far as I know, I think this is a linkage problem, however, the path provided in the 'libraw.la' file for 'libraw.so.15' is correctly specified under libdir='/usr/local/lib'.

Please help :)

Forums: 

I would like to know a bit more about RawSpeed

Hello!

We are currently using LibRaw, but I would like to know know if it will be worth, and safe, to include RawSpeed in our build of LibRaw.

- Is it stable for the formats that are selected to use RawSpeed?
- Does it fall back to a slower, stable method for those formats that are not selected to use RawSpeed?
- On average, what is roughly the expected speed up of using RawSpeed?

Thanks!
Asdiel

Forums: 

Static build of libraw for windows 64bit

Hello,

I understand this is probably a naive question, but I've been trying to make a static build using /mt flag in visual studio. I downloaded LibRaw 18 from the git repository and built the libjpeg-turbo, added the paths to libraries in LibRaw solution and I am trying to build it. I continually get this error

Forums: 

image for " histograms: libraw, dcraw, Capture NX-D"

Hopefully, the histogram images will post now...

Hi all,

I wish to convert raw .NEF files taken with a Nikon D40. I compared Nikon's Capture NX-D utility, libraw, and dcraw. First, I generated .tiff files with each of these. For NX-D, I converted without making any adjustments. With libraw, I used:

Forums: 

Libraw and file descriptors

With recent changes to Android, simple files are an endangered species and we have to rely on file descriptors. My c++ is rudimentary at best, but if I follow the docs and code to open a file descriptor I'd need to use:

LibRaw::open_datastream

I'd pass in an extension of LibRaw_abstract_datastream that would very closely resemble the existing:

Forums: 

Pages

Subscribe to RSS - LibRaw technical support