LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

The usage of user_sat

I modified the value of user_sat from -ve to +ve, however the effect is weird. -ve values do not cause any effect on the image while positive values do not cause obvious effect. The +ve values, for an extreme effect, say 9000, only make the image being darker and more red.

I am wondering the usage of user_sat here. Should modifying saturation can make the image change from a black and white image to a very deep colored image?? It's because I see other image processing software is working like this when adjusting the saturation.

I'm using LibRaw 0.15.0-Beta4.

Forums: 

Error occurs while using libraw.dll in VS 2010

I was using the old version 0.15.0-Alpha1 and I would like to change to the newer version. Then I again used the Native Building in Windows, i.e. open the cmd window and run "nmake -f Makefile.msvc", to build the libraw.dll and libraries for 0.15.0-Beta4. The building is successful, however when I overwrite the old .dll and .lib in my project of VS 2010 and run, I got an error "the procedure entry point could not be located in the dynamic link library libraw.dll". Why it happens??

Forums: 

Exposure corrections problem

Hello, Im working on project making HDR photo out of RAW images by making 3 samples with different exposures. Overexposing the image by setting values exp_shift between 2.0 and 8.0 works great but the underexposing values just arn't working. Setting them to 0.5 or 0.25 and it makes no difference on the result between it and input image.
Normal process - unpack(), dcraw_process(), dcraw_make_mem_image()

Forums: 

problems with Nikon Coolscan 4000 .nef file

Hello,

i actually try to load a RAW file created by the Nikon Coolscan 4000 Scanner.
Its a .nef file, original resolution 5408x3571 px, but i receive a wrong resultion and no image data.

Is it possible, that the Nikon Coolscan 4000 Raw files are not supported? (.nef is supported, but maybe the coolscan 4000 files are somehow special)

Thanks for your time,

Michael

Forums: 

Possible bug: Temporary files left on filesystem after decoding an .SRW file (0.14.4)

Machine type (via `uname -a'):

Linux konata-chan 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:
1) With a valid application or test harness incorporating libraw, attempt to decode an .s rw into a JPEG and save the result to disk.

Notice that a 'stray' file containing the name of the saved image and the process id is left behind in the directory where the conversion took place.

Forums: 

How to make LibRaw objects global?

I am writing a GUI interface with C++ and I would like to make the LibRaw processor (i.e. LibRaw Processor = LibRaw();) to be global so that I can use it in any functions and pass it between other forms.
I've tried:

private:
LibRaw Processor1;

it turns out "error C4368: cannot define 'Processor1' as a member of managed 'RAW_GUI::Form1': mixed types are not supported"

And I tried to make it as a pointer:

private:
LibRaw *Processor1;

However I cannot run Processor1 = LibRaw(); as it cannot convert LibRaw * to LibRaw.

Forums: 

RAW data processing

I wonder whether there is a way using LibRAW to process the RAW data (I think I read thru the manual how to do that) and to store that back in the RAW file (a NEF, for instance). To simplify, is it possible with LibRAW to *modify* a RAW file, instead than unpacking it for storage in a different format.

All the best for 2013, still 2 hours to go in Italy :)
David

Forums: 

Pages

Subscribe to RSS - LibRaw technical support