LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

0 width and height after processing

Before I run
LibRaw::raw2image() or LibRaw::dcraw_process()

LibRaw::imgdata.sizes contain proper dimensions but after running one or the other the values are 0. Both functions return LIBRAW_SUCCESS (0)

I have no idea how to debug this. All images tested are cr2 and open just fine in other programs including "dcraw_emu.exe".

everything I did is below.

Forums: 

Fuji X-E2s White Level

Hello,

I'm noticing that LibRaw reports a different white level from Adobe's DNG for this camera (and possibly other Fuji cameras too).

Here is one publicly available test image.

http://img.photographyblog.com/reviews/fujifilm_x_e2s/sample_images/fuji...

I converted this image to a DNG using Adobe's DNG converter. The white level stored in the DNG is 16383.

Forums: 

CR2 to Tiff conversion produces darker image

I have a .CR2 image taken by a Canon 80D camera. I'm using LibRaw to convert it to a .TIF. The .TIF which is created is darker than the original .CR2 file (when viewed using Canon's Digital Photo Professional or Irfan View)

I read the contents of the .CR2 file to a buffer, then pass the buffer to this method to convert and save to .TIF:

Forums: 

Problem with Samsung NX300 files with LibRaw+RawSpeed

Hello,

If you compile LibRaw with RawSpeed and extract a tiff for a NX300 file you will see that the developed image is different as compared to the developed image with LibRaw without RawSpeed. By different I mean very different, blues become orange, yellows become blue etc. You can see this problem in the NX300 sample in the rawsamples website

Forums: 

Problem with LibRaw using RawSpeed and Samsung NX300 files

Hello,

If you compile LibRaw with RawSpeed and extract a tiff for a NX300 file you will see that the developed image is different as compared to the developed image with LibRaw without RawSpeed. By different I mean very different, blues become orange, yellows become blue etc. You can see this problem in the NX300 sample in www.rawsamples.ch.

Forums: 

Unable to install libraw

System:

Fedora 25
kernel version 4.11.6-201.fc25.x86_64
gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)
Libraw version 0.18.2

I am trying to install Libraw but having problems. When I run make I get errors, see attached. According to the installation page, Libraw has not been tested for gcc higher than 4.x. Could that be the problem?

Forums: 

Unable to replicate image recived from command line in code

By using the example programs I can get the image I want by using the following
dcraw_emu -w -T

I want to be able to to this in a program so that I can do it in memory and not have to write it to the disk. To do this I wanted to replicate the draw_emu command line first, then change it to everything happening in memory.

But the code I have doesn't seem to use the camera white balance or output to TIFF.

int ret;
LibRaw libRaw;
#define OUT libRaw.imgdata.params

putenv("TZ=UTC");

Forums: 

Unable to install libraw

My system:
fedora 25
Kernel 4.11.5-200
gcc gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC)
LibRaw version 0.18.2

I am trying to install LibRaw but running into errors, the makefile always fails. See attached for details. According to this page, https://www.libraw.org/docs/Install-LibRaw.html, LibRaw has not been tested for gcc versions higher than 4.x. Am I trying to install an outdated version? And where can I get one more recent?

Forums: 

CR2 to Tiff conversion produces darker image

I have a .CR2 image taken by a Canon 80D camera. I'm using LibRaw to convert it to a .TIF. The .TIF which is created is darker than the original .CR2 file (when viewed using Canon's Digital Photo Professional or Irfan View)

I read the contents of the .CR2 file to a buffer, then pass the buffer to this method to convert and save to .TIF:

Forums: 

Pages

Subscribe to RSS - LibRaw technical support