General discussion

Cannot find exact forum for your question ? Ask here

Assistance wanted with white balance processing (I think)

I'm pretty sure this isn't a Libraw problem, but a problem with my code! I use unpack() to extract the raw image data and then convert the data into my application's internal image format using code based on code I found in the Libraw/dcraw source code.

The problem is that my images are somewhat too red in colour as compared to how (e.g.) Windows "Icon view" or IrfanView display them.

Is there anyone who would be prepared to look at my code and work with me to help work out what I am doing wrong.

Forums: 

converting Compressed NEF to uncompressed DNG

I have a silly question. I want to use RawRefinery with my NIkon z6iii Compressed NEF files (no, not the HE NEF's that are not supported by libraw. )

If I convert the NEFs to DNG using Adobe DNG, but RawRefinery does still crash on the DNG, probably because the embedded raw data is still compressed.

Is there a program using libraw that can read the compressed NEFs (darktable can read them) and convert them to uncompressed DNGs?

Forums: 

Problems with Snapshot 202502

I just downloaded the latest Snapshot 202502 from Github.

Nice that it has added 14-bit support for Olympus cameras.

However, I'm seeing 2 big issues:

1. Extremely slow decoding speed. Decoding a compress Fuji RAF file is now at least 10x slower.
2. Yellow tint on every decoded image (RAF, CR3, ORF, etc.) Almost seems like WB and tint are off.

Any suggestions on what the problem might be?

Forums: 

Cmake Clion Mac

Hello,

Does anyone have installed libraw on a macOS et use it with Clion (C++ IDE) ?

*** Cmakelists.txt ***
make_minimum_required(VERSION 3.30)

project(RawReader)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_PREFIX_PATH "/usr/opt/lib/" ${CMAKE_PREFIX_PATH})
add_executable(RawReader main.cpp)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

***

Forums: 

Comprehension question to LibRaw development

Hello,

I have the following comprehension question to development of LibRaw:
Till yesterday I thought that it is a more or less a linear development
- so snapshot 2025-02 is fully based on version 0.21.3 and contains all features of 0.21.3
- same for version 0.21.4: based on snapshot 2025-02 and contains all features of it

Forums: 

Problem when emulating dcraw document mode

Hi everyone,

I'm currently using LibRaw to extract a completely raw image without any interpolation or processing, similar to dcraw's document mode (dcraw -D -4). I'm attempting to achieve this by setting the following parameters:

params.no_iterpolation = 1;
params.gamm[1] = 1;
params.output_bps = 16;
params.output_color = 0;
params.no_auto_scale = 1;
params.no_auto_bright = 1;
params.highlight = 1;
params.adjust_maximum_thr = 0;

Forums: 

Do I need to use dcraw_* api ?

Hello!

I've been able to debayer RAW images and "import" them into OpenCV, but I was reading through the website and now I'm wondering if I'm using the best process. Currently, I do the following:

1. open_file()
2. unpack()
3. setup imgdata.params
4. dcraw_process()
5. dcraw_make_mem_image()
6. Make cv::Mat

Am I following the recommended procedure? I saw mention of raw2image() with copy_mem_image(). Should I be using those instead? If so, why? Thanks!

Forums: 

Pages

Subscribe to RSS - General discussion