LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

C++ Builder issues

Hi

I'm using Libraw 0.19.5 Release 32 bit DLL with Codegear C++ Builder 2007 32 bit

I've used its implib utility over the DLL to create an import library and am referencing libraw.h

But I always get a link error [ILINK32 Error] Error: Unresolved external '_libraw_init' referenced from H:\LIBRAW\DEBUG\UNIT4.OBJ

I've tried changing DllDef to __declspec in the header, but no joy.

So I tried using LoadLibrary() instead and always get error 193 (is not a valid Win32)...

Does anyone know how to overcome this?

Thanks

Forums: 

Canon 80D colors seem to be wrong

I'm trying to use LibRaw to convert CR2 files from Canon 80D, and when I use rgb_cam combined with pre_mul, I get some not quite realistic colors. In particular, it looks too orange to me. It appears as if the old Canon 1100D got it more "right" than the new 80D.

I then took some photos of my monitor showing RGBCMYK colors and lighter versions of them with 80D, and also measured these colors with SpyderX. After I made my own camera-to-sRGB color conversion matrix using these data, I got some better results.

Forums: 

Inverting raw_image and getting magenta output

Hi all, I'm rather new to using libraw, so I apologize if this question is somewhat naive. I'm trying to build a set of tools for handling DLSR captures of film negatives, and I'm attempting some tests to verify my guess that performing several steps in the negative inversion process using the RAW sensor data rather than interpolated data that has been converted to a color space will provide some advantages. I'm using a RAW capture of a color film negative from an A7r IV that I've converted to a DNG for this test.

Forums: 

IIQ RAW S and IIQ RAW L

Hi,

It is my understanding that PhaseOne cameras can produce 2 IIQ formats: S (for small) and L (for Large). Right now I m only able to use libraw with IIQ L image. Do you have any plan to make the S format compatible ? I think I can provide you a sample if required.

Thanks.

Greg

The following is taken from the PhaseOne website :

IIQ RAW S and IIQ RAW L

Forums: 

Losing all benefits of Sigma (Foveon X3F) Merrill BW benefits

One of Foveon's sensors used in five different camera models:

  • SD1
  • SD1 Merrill
  • DP1 Merrill
  • DP2 Merrill
  • DP3 Merrill
  • 

doesn't permit the inherent BW quality advantages normally provided for these cameras when using LibRaw. As an example, BW images only open as colour images in LibRaw.

This issue was escalated to the LibRaw dev team by the Affinity (Serif) devs about a year ago, but I couldn't find it here, so I am raising the issue again in the hope of a solution.

Forums: 

Creating static build for OSX (dylib relative path)

Hi!

I can compile the library with:

PKG_CONFIG_PATH=$(CACHE_DIR)/lib/pkgconfig ./configure --prefix=$(CACHE_DIR) ac_cv_prog_c_openmp=-Xpreprocessor\ -fopenmp ac_cv_prog_cxx_openmp=-Xpreprocessor\ -fopenmp LDFLAGS=-lomp --disable-examples --enable-static=yes --enable-shared=no
make install

However there are libraw*.dylib files next to the libraw*.a files. They are registered by relative path so I cannot make the binaries portable. I'm trying to use it with ImageMagick.

Forums: 

Segmentation Fault when processing some raw images

Hi,

I am facing Segmentation Fault when I execute any of the samples with a CR3/CR2 file. DNG files are working properly.

I have used samples/raw-identify.cpp, samples/dcraw_emu.cpp and samples/simple_dcraw.cpp but all of them give a Segmentation Fault as soon as I enter the command.

I also isolated the issue to occur within the LibRaw::open_file() function.

I have also tried to use the option -F on dcraw_emu to consider file as a big one but it does not help.

Forums: 

Don't want to use LCMS

I downloaded, built and installed libraw (Mac version). The command line samples work. Tried to build a simple application in Xcode (basically a copy of dcraw_half). I get errors like: Undefined symbol: _cmsCloseProfile. I don't want to include lcms. What file(s) do I change to not require lcms ? Or in other words, where do I set --disable-lcms ? I am not a frequent user of configure files, so pardon if this is a noobi question.
Also in the realm of nits: I get 5 warnings like:
This function declaration is not a prototype
DllDef const char *libraw_version();

Forums: 

Pages

Subscribe to RSS - LibRaw technical support