RAW processing

All about RAW processing

Canon CR3 file - returning wrong image size?

Canon Ra camera with CR3 files is not cropping the right / bottom off the sensor data correctly.

exiftool reports:
Sensor Width : 6888
Sensor Height : 4546
Sensor Left Border : 156
Sensor Top Border : 58
Sensor Right Border : 6875
Sensor Bottom Border : 4537

returned image is 4498 x 6742
but it should be 4480 x 6720

it looks like right / bottom border values are not being picked up. If I crop 22 from right and 18 from bottom I get an image that matches the image from other apps and the camera's own jpeg version.

Forums: 

dcraw_emu fails with OM-1

LibRaw newbie here.

By now LibRaw already supports the last "Olympus" camera OM-1. Unfortunately, the two main raw processing software in Linux, Darktable and RawTherapee, both use dcraw. So I am trying to use LibRaw via its dcraw_emu. Yet, after compiling LibRaw-0.20.2, the sample dcraw_emu gives the usual dcraw error on OM-1 orf files: "Unexpected end of file".

How can I solve this?

Thanks!

Forums: 

How to using the sample 4channels.cpp to get full size image of each channel

Hi, I want to use libraw to decoding the sony ARW file and getting the full size of RGB three bands. Using the 4channels.cpp sample, I can get the half_sized image, but when I change OUT.half_size=0, the full size is coded with dark pixel. So, could someone give me some suggestions?

Danile

Thanks a lot!

Forums: 

Getting closer to in camera conversion (Sony)

My Sony is set to store both ARW and JPG. I'd like to be able to read the ARW into a program's memory and get closer to matching the JPG but with more bits per value. Currently, the best I've managed is slightly washed out and very slightly grainy compared to the JPG. There are also apparent differences in interpolation (such as thin dark lines wider in what I read from ARW vs. JPG).

Forums: 

reading .raw with LibRaw iProcessor example

Hello everyone,
I am trying to read a raw image with libraw using the example in the API page " https://www.libraw.org/docs/API-overview.html"
I wrote the following code and get a -2 file reading error.
I was able to read the same raw image with Python (fromfile) specifying bit ordering to 'big'. What should I do to read to do this with libraw in C++?

Forums: 

Pages

Subscribe to RSS - RAW processing