LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

Compile visual studio solution with demosaic pack

I'd like to use a couple features of demosaic pack (namely amaze and CA correction) from a command line tool.
Think the best would be to start compiling libraw with demosaic pack support. I found the location into makefile to uncomment in order to compile with demosaic pack support, but i'm on Win/VS and would like to compile from there.
Plain compilation is OK under VS2012.
I tried adding a project with files from demosaic pack GPL 3 but it fails (probably due to unsatisfied dependancies).

Any hint/advice?

Forums: 

adding LibRaw-demosaic-pack-GPL3 support

Hi all! I came to know libraw searching for infos on CA_correct_RT.cc since i'm impressed of RawTherapee results in automatic chromatic aberration correction.
It would be awesome for my workflow to be able to use a command line tool to convert raw to more suitable formats and removinc CA in the process.
I successfully downloaded and compiled libRaw (on win8/VS2012) but now i'm a little confused about how to add LibRaw-demosaic-pack-GPL3 goodies.

Any advice?

Forums: 

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: 

Pages

Subscribe to RSS - LibRaw technical support