LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

dcraw_make_mem_image - no error reported in low memory situation

Hi,
I'm using LibRaw to decode Sony ARW files.
One option of my code is to allow user to specify they'd like RGB output instead of RGGB.
When this option is chosen I call dcraw_process (result is LIBRAW_SUCCESS), followed by dcraw_make_mem_image with address of my result-code int.

This works great when memory is available.
However, when memory gets tight, this call appears to fail (returns NULL), but the error code is not populated (per "...If caller has passed not-NULL value as errorcode parameter, than *errorcode will be set to error code...").

Forums: 

Sony IMX sensors in machine vision camera

Hello everybody, We use machine vision camera's for taking automated photo's and want to use the raw image (rather than the JPEG) to increase picture quality. The camera's using sensors like Sony IMX304 and other models. Not the sort of sensors that are used in photo camera's. What is the best reoute to use LibRaw? Thanks in advance.
Regards Pim

Forums: 

panasonic 14 bits

Hello,

For Panasonic 14 bits compressed images (like for the S1H camera), I wrote a decoder (in Pascal).
It is very similar to the 12 bits compressed, but differs in some details from the routine found in dcraw.
The cmp=4 is the code dedicated to 14bits compressed. cmp=3 is the code for 12 bits compressed inspired from dcraw.c - it's probably easy to rewrite it in C readinf the dcraw source in parallel.

The code ran correctly on all images I have pumped for this camera from photographyblog.com .

Cheers, Raoul de Nyon

Forums: 

Pages

Subscribe to RSS - LibRaw technical support