LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

libraw.dll?

I am currently using libraw.dll from the 0.20.02 release -- this has not been updated for a while, but I see you have been uploading new snapshots to the Git repository. Maybe I am missing something, but the snapshots do not seem to include libraw.dll in the bin folder or anywhere else. Any chance you could generate the DLL so I can add support for the newer cameras?

Thanks in advance,
Jonathan Sachs
Digital Light & Color

Forums: 

Different behaviour between git and 0.20.2 with wide char

Hello everyone,
I come with a small question. Indeed, I'm using libraw in my project and everything is fine. However I recently found a small glitch if I use the git version and not the 0.20.2 version.

To handle wide char filenames I use a function to convert them and it was ok until now. It looks like the git version has changed some behaviour.

Forums: 

CR3 to Tiff conversion results in different brightness levels

Hi,

I have two .CR3 files (Canon M50 Mark II), which were taken with exactly the same parameters, and the same illumination, so I would expect the same brightness level (and the .jpeg files indeed have the same brightness).

When I'm converting the .CR3 files to 16-bit TIFF files using the latest bits of LibRaw (2021-10), I get two TIFF images with quite different brightness levels.

Forums: 

libraw/dcraw_emu crushes shadows and turns them blue compared to dcraw with exact same settings

I noticed something odd about the dcraw_emu, that sometimes it absolutely crushes the shadows in an image and tends to give them a blue coloration. So, I compared to darktable at first and I saw that darktable doesn't do that. Then I compared with dcraw so that I could match the processing parameters (darktable doesn't use dcraw or libraw ) to libraw's dcraw_emu to see whether maybe it's something in the libraw code that makes this happen.

So I processed an image with the following codes:

Forums: 

Unable to read RAW image from Agfa Photo DC-833m sensor

Hi,
I am using libraw 0.20.2 for reading RAW files. I have been handed two files generated from a DC-833m sensor. The user of my application has captured this using an evaluation kit + DC-833m sensor + Software that came with it.

You can find the two RAW files at the link below:
https://drive.google.com/drive/folders/1X1Tdy744XXb2AaMvE9ZIwsNRqjoYbFUe...

Forums: 

imgdata.sizes.raw_pitch is only available after unpacking?

Hi,

The document https://www.libraw.org/docs/API-CXX.html#open_datastream says that it will fill imgdata.sizes. However, it seems that raw_pitch is not really filled, and is only available after unpacking. Is this expected? Are there any fields listed in the doc also available only after unpacking? It will be useful to know this as unpacking takes time and I would like to be able to do some initialization in parallel based on the available data. Thanks!

Forums: 

iPhone 11 Halide DNG gives black image.

I am using libraw to try and read an image from an iPhone 11. I use the libraw->rawdata.raw_image field to access bayer data.

I have also tried converting the image with dng converter (no compression) and libraw still gives a black image.

Why could this error be happening?

The DNG file is here:
https://drive.google.com/file/d/1SlVyBiHgIamv7Z8G6qhA6A4KyTwxpvqZ/view?u...

Forums: 

Fuji X-Trans files opening slow

I am the developer of librawFX (https://github.com/lanthale/librawfx) and I am using with this way libraw. Generally all is working well and also the speed is good for reading raw files.

Nevertheless if I open Canon/Nikon file it takes 1-2 s to open the file (max. 3s). Opening a Sigma file takes around 3s. But if I open a fuji x-trans file it takes 15 - 20s.

Do I have to ship some extra libs to get here the same speed as with Sigma files ? Or is it a bug actually that it takes so long ?

Forums: 

Pages

Subscribe to RSS - LibRaw technical support