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
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?
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:
I'm using LibRaw in a macOS application for quickly showing thumbnails to a user of RAW files that aren't natively supported by macOS. It's working great, but I'm a bit confused by the documentation for:
dcraw_process
It says:
"The function is intended solely for demonstration and testing purposes; it is assumed that its source code will be used in most real applications as the reference material concerning the order of RAW data processing."
I'm attempting to use the LibRaw C++ API in a macOS Objective-C application. The LibRaw calls are being made inside an Objective-C++ file (.mm). However, I'm running into consistent crashes when attempting to use LibRaw on a background (non main) thread.
Simply declare a new LibRaw variable is enough to cause a crash:
LibRaw processor;
However, if I first switch over to the main thread using GCD, then it doesn't crash.
Hi.
I know, this question was asked more than once, but I still have not been able to find a solution.
I want to translate the white balance coefficients into Temperature and Tint, as for example, this is done in FastRawViewer.
For this, I used dng_temperature from the DNG SDK (about the error with the typing I know).
I receive rgb_cam from cam_xyz with cam_xyz_coeff for my camera. The rgb_cam now stores the matrix from the camera to sRGB.
Anyone know how to call Libraw.dll form Visual Basic net 2017
And or
Intercept output
And or force use standard output
I just want a simple way to get the bitmap (not write to file) from the dang thing
Greetings to all. I ask for help. Did I understand correctly that the user_sat parameter does not change the saturation, in the sense that the saturate in HSL, but indicates the maximum change? So I can't change the saturation? In what situations and how should I change the user_sat?
Thank you in advance
When I call the method libraw_dcraw_make_mem_image the return result is a valid image pointer, but the image->data_size is 0, as well as width + height.
The error code is 317061776, and the image is obviously invalid. The previous call to libraw_dcraw_process returns a status code of 0.
Recent comments