LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

libraw unable to open dng file

Hi Team,

I have a DNG file and tried to decode it libraw without Adobe DNG SDK.

When I tried to open_buffer, load_raw was identified as lossy_dng_load_raw but then raw_count is zero so it returned -2.

Do I need to use Adobe DNG or is it expected to work just with libraw?

I have attached the image in this link, https://drive.google.com/file/d/18QaZiL_YBEXwrmKd9638zHuWpOo54V5y/view?u...

Thank you and best regards,
Fidel

Forums: 

Not able to use Libraw 0.21.1 for intel mac

I downloaded the libraw binaries from the download page for macos

my macos version is 11.7.4, using in c++ gives me linked x86_64 architecture symbol(s) not found error...

I have also tried building it from scratch using both

make and
make - f makefile.dist

in that case I run into the following error when I try to run the file from another computer
< It was codesigned and notarized >

Forums: 

ImageMagick signatures are different when using 0.20.2 vs 0.21.1

I'm trying to do duplicate detection in my photo library and I was experimenting with using ImageMagick's identify -verbose tool to get a signature (SHA256 hash) of the pixel data.

A problem arose when I ran it on my Mac, which used the Homebrew distribution of LibRaw (the latest; 0.21.1) but I was getting mismatches on my Ubuntu 22.04 machine (which gets 0.20.2 of LibRaw). Once I built 0.21.1 on the Linux machine, the signatures were identical as expected, so I don't think it's an ImageMagick issue.

Forums: 

Samsung SRW

Hi,

I tested libraw with database from rawsample.ch. test means read and idsplay image. Good new all images (except one) are readable and can be display : Great works

Image with problem is http://www.rawsamples.ch/raws/samsung/RAW_SAMSUNG_NX500N_12BIT.SRW
may be file is dammaged I don't know

simple_dcraw.exe RAW_SAMSUNG_NX500N_12BIT.SRW
Cannot unpack RAW_SAMSUNG_NX500N_12BIT.SRW: Input/output error

Forums: 

File signature

Hi,
In opencv file image format (https://github.com/opencv/opencv/blob/4.x/modules/imgcodecs/src/loadsave...) are identified using file signature as a char array. A decoder is found using this signature tiff bmp jepg webp....

I found a method LibRaw::identify() but it is protected and need a file pointer.

Is there is a way to give a char array to check if file is readable using libraw?

Forums: 

Fujifilm GFX100S - Full Frame Crop Size

Hello,

I was trying to decode some full frame crop samples from Fujifilm GFX100S and something seemed off in the sizes.

I noticed that the imgdata.sizes.width was being calculated to be 9550, well the libraw_raw_inset_crop[0].cwidth comes to 9552, with from what I can tell 9552 is the intended width for these images.

I feel like the width shouldn't be shorter than the intended crop? Or should I not be comparing this crop against the imgdata.sizes.width and should be using it against the imgdata.sizes.raw_width?

Cheers

Forums: 

libraw-0.21.1\libraw\libraw_datastream.h(183) : error C3861: 'data': identifier not found

Hello,

I compiled the new LibRaw 0.21.1 as a Windows DLL - it worked perfectly as a 64-bit DLL, using the 2019 edition of Visual Studio.

I would also like to compile a 32-bit DLL using an older edition of Visual Studio, that works with Windows XP. When I do this, I get lots of these errors:

libraw-0.21.1\libraw\libraw_datastream.h(183) : error C3861: 'data': identifier not found

and

Forums: 

LibRaw 0.21.1 and RawSpeed v3

I followed the instructions on downloading a specific commit of rawspeed from DarkTable and I applied the 4 patches (actually, patch 01. is not needed as it is already in the rawspeed source code).

I was able to compile RawSpeed 3 successfully.

But when I enabled RawSpeed 3 support in the Makefile.dist of LibRaw and make the correct reference to the RawSpeed3 directory, LibRaw would compile but with the following linker errors:

Forums: 

Pages

Subscribe to RSS - LibRaw technical support