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!
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 ?
I have a DNG that I successfully converted with dcraw_emu on Mac OS (libraw 0.20.2 was installed with homebrew).
But on Debian 11, same command is not working (libraw 0.20.2-1), I get an error: cannot unpack file.dng: Corrupted data or unexpected EOF.
I tried to re-compile libraw to be sure that zlib is included, but no luck.
I am new to raw image processing, and was just playing LibRaw for a couple of weeks. I apologize if this question has been asked before. So, I was trying to read a .CR2 file. In my first version, the image was very green, and I found that it was because I didn't multiply pixels with pre_mul. With a bit of code tracing, I found that pre_mul is calculated (in my case, lossless jpeg decoder) in cam_xyz_coeff() in utils_dcraw.cpp as follow:
I am trying to use LibRAW to convert the CR3 files to tiff and then convert the tiff to jpeg using imagemagick. I want to run this as a container on AWS using Fargate (nodejs application).
The process runs perfectly for CR2 files but for CR3 file the tiff file is not getting created and draw_emu is not throwing any error too.
a while ago I updated to macos Big Sur. So I wanted to update libraw on macos and pulled new sources from the github repository. Running './configure' and 'make' did not yield the expected results from earlier builds on my mac, however.
Hello,
I need to record 10 bit RG Bayer images from a GigE Vision camera. The DNG format seems to be a solution but I am listening to an alternative. Do you have any advice for me?
Recent comments