LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Issue with PEF file

Hi again,

While browsing this forum, I found this post "Issue with Pentax *istD" (3 May, 2017 - 14:53) about a Pentax PEF file that did not decode correctly in version 0.18.2, but did work in 0.17.2. A patch was proposed in the same post.

The file is still available at :
http://www.rawsamples.ch/raws/pentax/star_d/RAW_PENTAX_STARISTD_SRGB.PEF

Forums: 

Problem opening IIQ files

Hello,

I have been using libRaw 0.15.4 (Windows 32bit) in my application since 4 years. Recently, we received some CR2, NEF and IIQ files that libRaw 0.15.4 was not able to process correctly (strange colors rendering or errors on opening). I decided to upgrade to a recent version of libRaw, so I tried libRaw 0.18.15 and 0.18.16 and it seems that most problems have gone away except some IIQ files that cannot be opened (while libRaw 0.15.4 worked well on these files).

I try to open these files with this simple code :

LibRaw rawProcessor;
in result;

Forums: 

Use LibRaw with CodeBlocks and mingw on windows

Hi everyone,

I would like to open a .cr2 (from my Canon 6D) file, play with it and compare the result with already existing demosaicing algorithms.
I use codeblocks 16.01, mingw x64 5.0.3 (g++ version 7.2.0) and openCV 3.3.1 on Windows 10 x64.
I downloaded the latest LibRaw sources.
But i can't compile a simple program :

Forums: 

Variable Contrast

Hi there,

I've been trying to use LibRaw on a project, but keep running into an issue where the output images don't look "contrasty" enough -- they differ substantially in contrast from both the embedded previews in the JPEG, as well as ACR and FastRawViewer (which I understood uses libraw internally?)

Looking in FRV, there's an option called "contrast curve type", which is set to "variable contrast" -- I think this is what I'm missing.

How do I invoke libraw such that it mirrors the "variable contrast" setting, so that my images look right?

Thanks!

Forums: 

How to use LibRaw for writing one's own demosaicking algorithm

Dear All, thank you very much for this really nice piece of opensource software !

I would like to write an inverse problem solver, that take as input multiple RAW files (taken from the same image), and outputs 3 RGB files for the image.
The way demosaicking is performed is up to me, but I would like to be able to rely on LibRaw in order to consistently know the mapping between each pixel coordinate (x_i, y_i) and its color channels (R,V or B), wether the input raw comes from cannon/nikon/sony/pentax,... .

Forums: 

Getting SIG_SEGV in xtrans_decode_block (libraw_fuji_compressed.cpp)

Hi Alex,

on my libraw port on android, I'm getting a SIGSEGV (signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)) in the xtrans_decode_block function when trying to call "libraw_unpack" on a raf file reported by an user (X-T20)(see link below). What I tried is to check at which point exactly it crashes (it's a little tricky under android), and found out that it fails somewhere in the last loop (logged the state at line 712, the last output before it fails is:
xtrans_decode_block 22 15 512 (22 = g_even_pos, 15 = g_odd_pos, 512 = line_width)

Forums: 

Pages

Subscribe to RSS - LibRaw technical support