LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

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: 

did 4channels loose the -N option?

When I run 4channels, I get:

4channels -N A.NEF
4channels - LibRaw 0.21.1-Release sample. 1182 cameras supported
Usage: 4channels [-s N] [-g] [-A] [-B] [-N] raw-files....
-s N - select Nth image in file (default=0)
-g - use gamma correction with gamma 2.2 (not precise,use for visual inspection only)
-A - autoscaling (by integer factor)
-B - no black subtraction

What does -N do? Since it is described in the Usage line I expected it to work and have an explanation like -B and the others. What gives?

Cheers,

Peter

Forums: 

DNG with jpeg-xl compresseion

Hello,

Reading some posts in the XnViewMP forum, I found a DNG image that LibRaw does not convert into a JPEG image.
Please see: https://community.adobe.com/t5/camera-raw-discussions/samsung-s24u-exper...

I use the latest libraw compiled without dng-sdk.
The error message is: Cannot open : Unsupported file format or not RAW file

Forums: 

Pages

Subscribe to RSS - LibRaw technical support