LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

LibRaw::open_file hang

I'm designing an Android app that is now leveraging LibRaw as opposed to dcraw directly and it's been a great improvement. Thank you very much for your effort in this.

Previously I was using 'dcraw -i' to quickly check for actual raw images on a device. I didn't see anything that specifically did the same in LibRaw, but I figured simply opening the file without unpacking and checking the result should suffice and it works fine on all my test devices.

canDecodeFromFile(filePath)
{
LibRaw RawProcessor;

Forums: 

Underexposing does not recover clipped highlights

Hi!

I have an image that has few spots that are clipping and I'm trying to use the exposure correction and stop it down by 2 stops (0.25). However the image it returns has all the clipped whites that used to be at 1.0 at 0.25. If I do the same with Lightroom or Photoshop, there's more detail in the highlights showing up with values above 0.25.

These are my parameters:

Forums: 

Using in VS to read/write DNG files

The new Canon cameras use a hybrid focusing system that creates post-processing difficulties with Magic Lantern's RAW video output. The focus pixels end up in the image. You need to interpolate around them. There is Java based software "Pink Dot Remover" that does this. However, it has issues, the first being in Java ;)

There are multi-OS raw2dng converters that works well in creating DNG files from ML RAW.

Forums: 

Using LibRaw directly within project

Hi,

I was wondering if it is possible to use the LibRaw sources directly within another project without building a library first, mostly for better debugging purposes (like using GDB).

On my system (win7 with mingw and eclipse cdt) I tried both adding the folders (libraw, src, internal and dcraw) to the source directory and somewhere else and added necessary libraries (-lm and -lws2_32). When adding into source file and to build path, everything gets build in no particular include order so I get errors like

Forums: 

Problem with libraw 0.15.2

Hello Alex,

i am sure you remember me. I am the developer of "PFind" and I am using your libraw.dll.

Some days ago I updated my code to use your new version ob libraw v 0.15.2. Compiling went fine but there is a major problem:

When I execute (your file from the zipfile) as following:

simple_dcraw.exe -D -v -T problem.cr2

I get an tiff file (of course :-) - but the right area of the image shows an error/strange image data.

When I do it with a "Canon EOS M" everything goes fine.

Forums: 

Mac issue in 0.15.2 vs. 0.14.8

A few particulars - I am building a 32-bit (i386) version and linking using static libs. Compilation is on a 10.7.5 machine and with both 0.14.8 and 0.15.2, I use:

setenv LDFLAGS "-arch i386 -F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -L/Developer/SDKs/MacOSX10.6.sdk/usr/local/lib"
setenv CPPFLAGS "-arch i386 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5"
./configure --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3
make

(and I link to the .libs/libraw.a)

Forums: 

Pages

Subscribe to RSS - LibRaw technical support