General discussion

Cannot find exact forum for your question ? Ask here

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: 

If I have bayer data, how to process it to get the image?

I've a custom decompress code that decompresses a certain compressed RAW image into bayer monochrome 16-bit data. The actual bit depth of the sensor is 14-bit.

Now that I've the bayer data, how do I use LibRaw to turn it into a useable image?

My code currently looks like this:

Forums: 

RAW EXIF tag editing Anamorphic de-squeeze:

could the following be achieved with Libraw?

apply a custom aspect ratio to Fujifilm.RAF RAW images are made with an anamorphic lens and applied to a specific aspect ratio de-squeeze (1.33X or 1.5X) on the horizontal axis. that will also be applied to any embedded preview images.

once the files have the proper aspect display metadata Capture One Pro will be used to process and export the final deliverables.

I am on MACOS Ventura.

I have not used Libraw in the past. but I am capable of following directions and asking for help if I’m stuck.

Forums: 

Pages

Subscribe to RSS - General discussion