LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Sony YCbCr white balance difference seems off

Hi,

I have a question regarding these two images:

https://drive.google.com/file/d/1FZDh3jiw-85sJy3qJUh-xL4E5fA1mEfV/view?u...
https://drive.google.com/file/d/1GWI7D2sY2VcZrlFASAzkSklQl7vJ0qYn/view?u...

These are Sony YCbCr images, shot at the same camera white balance. I see they have

Forums: 

Steps for building dcraw_emu with USE_DNGSDK

Hello!

I'm trying to build dcraw_emu with the DNG SDK support enabled and I can't figure out how to get the DNG SDK to generate static or dynamic libs to link against. I saw the commented out lines to enable DNG SDK Support in Makefile.dist, but when I build dngvalidate, it just builds the executable and doesn't populate libs into a release folder like the makefile is expecting.

Forums: 

JPXL preview in DNG, Adobe DNG SDK

I've integrated LibRaw with the Adobe DNG SDK, but it seems dcraw_make_mem_thumb() cannot be used to extract the embedded JPXL preview?

I can extract the embedded JPXL using ExifTool and save it to disk. The resulting JXL has 5472x3648 pixel and loads fine in Photoshop and Affinity. It looks like the "developed" DNG in ACR.

In my code, I do basically this:
...
plraw->set_dng_host(host.get());
plraw->imgdata.rawparams.use_dngsdk = LIBRAW_DNG_ALL;
plraw->imgdata.rawparams.options |= LIBRAW_RAWOPTIONS_ALLOW_JPEGXL_PREVIEWS;

Forums: 

White balance problem

Hi
I have some debayer sony images, and the WB coeffs confuse me. I find FRV will set the cam_mul to [1, 1, 1] different to Libraw. And when i convert raw to dng file, the value may be [1.73, 1.27, 1]. Can you explain why set to [1, 1, 1] for debayer images (just assume WB coeffs already applied). But for [1.73, 1.27, 1], the result looks not good.

Forums: 

open_file return -100009 : when path contains french e accent

Hello,
I use a small experimental program with Libraw and Windows 10
Thanks a lot for all the job done !
All worked well with 0.20.2 release and previous also.

When i upgraded for the 0.21.2 release i got an error -100009 for the method "open_file" :

wchar_t* array = new wchar_t[length + 1]
//....
int ret = this->processor->open_file( array ) ;
// ret is -100009

Forums: 

LibRaw with Adobe DNG SDK 1.7

Today I've tried to get LibRaw working with DNG SDK 1.7 using Visual C++ 2022.
I've downloaded the latest LibRaw snapshot from Github.

After some struggling I've managed to create a .lib for the DNG SDK (Adobe should really include a VC solution for that) and then I've following the instructions in README.DNGSDK.txt

My first tests show that this apparently works many of my sample DNG files, but it fails for others, producing "wrong" colors with a bad magenta cast. See attached image 003 (image 002 is the same photo loaded in ACR with default settings).

Forums: 

Getting 'unresolved external symbol' errors

Hello,

I am trying to build the LibRaw as part of the FreeImage-Library (which has no new version since 2018) and I am getting some 'unresolved external symbol' errors in the linker.

-> sony_ycbcr_raw(..)
-> pana8_decode_loop(..)
-> panasonicC8_load_raw(..)

I attached a screenshot (sorry it is in german) -> "nicht aufgelöstes externes Symbol = unresolved external symbol"

I tried for several hours to find the problem, but to be honest I have actually no idea :)

Help would be great - Thanks,
Michael

Forums: 

Using LibRaw with Adobe Camera Raw (photoshop plugin)

I opened a DNG image I made with Galaxy S21 Ultra with a program called EasyHDR. I really like the white balance provided by LibRaw (or Dcraw, which is optional), but I can't use Libraw/Dcraw settings in Adobe Camera Raw 10.0 (Photoshop CC 2018).

Here's a screenshot of what I'm talking about: https://postimg.cc/LYTYQ3ds

Is there any way I can use LibRaw with Camera Raw?

Forums: 

Pages

Subscribe to RSS - LibRaw technical support