LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

dcraw_make_mem_thumb

It states that the output is either JPEG or RGB bitmap. What is it in the case of a PPM thumb model? The output does not appear to be either a JPEG, bitmap, or PPM.

I've checked the header and it's certainly not PPM.
I've tried loading the buffer into a bitmap in Java and it fails.

I can however dump the PPM thumbnail via dcraw_thumb_writer, so it can be processed.

Thanks!

Forums: 

Skipped lines in Raw-Processing

Hi everybody,

i've got a strange issue:

When i load a raw file (dng, converted via Lightroom from canon cr2), process it and try to save it into jpg, every like 175-200 lines are skipped, so the overall image has less height and the rest is filled with black.

A sample of what I'm talking about: http://art.untested.de/private/blub.jpg

what i'm basically doing is (error checking and other stuff ommitted for readability):

Forums: 

Pages

Subscribe to RSS - LibRaw technical support