LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

exp_shift doesn't work as expected

I wanted to use the following values to shift exposure :

    imgdata.params.exp_correc = 1;
    imgdata.params.exp_shift = 1.0;
    imgdata.params.exp_preser = 0;

but only value 1.0 <= exp_shift <= 8.0 seems to result in a different exposed output ( lighter ).
All images created with setting 0.25 <= exp_shift < 1.0 look the same ( not darker ) ?

Forums: 

LibRaw on Visual Studio with Target Machine x64

I can understand it is a naive question but I have searched enough and was wondering if it is at all possible to run libraw on a visual studio project with platform and target machine set to x64. Everything works fine when platform and target machine are x64, but it complains of unresolved externals whenever they 're set to x64. I wanted to integrate it into a large project which has been aimed for 64 bits so far anyway. Thank you in advance.

Forums: 

Create 16bit gamma corrected image from raw image

Hi

I'm trying to extract 16bit TIF from raw image ( gamma corrected - not linear ) and only get a very noisy / false-colored image !?
I'm certainly doing something wrong when setting up LibRaw instance...

Any hint appriciated !

Here is my pseudo code ( error handling stripped ) to extract the raw image and create a GraphicsMagick image of the created image data :

Forums: 

Pages

Subscribe to RSS - LibRaw technical support