LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

MinGW-64 build and UNICODE paths

If I understand correctly the following lines make not possible to work with UNICODE paths on windows (built with MinGW-64 compiler)

#if defined(_WIN32) && !defined(__MINGW32__) && defined(_MSC_VER) && (_MSC_VER > 1310)
int LibRaw::open_file(const wchar_t *fname, INT64 max_buf_size)

Can __MINGW32__ macro be narrowed to __MINGW64__?

But it looks like that mingw64 std library has wide char file i/o functions (_wfopen).

Forums: 

LibRaw Visual Studio Problem

I am trying to install LibRaw and get it to work with Visual Studio 2015. I think I managed to successfully build the library but when I open the Visual Studio file I get an error during debugging:

Unable to start program
"C:\Users\Kacper\Desktop\example\LibRaw-0.17.2\buildfiles\.\libraw.dll"
The system cannot find the file specified

When I look inside my folder, this exact file is under this location: "C:\Users\Kacper\Desktop\example\LibRaw-0.17.2\buildfiles\debug\libraw.dll"

I am not sure how to tell visual studio to correct this.

Forums: 

Infinite loop in jpeg_start method

Hello,

We detected when using FreeImage an therfore LibRaw that for some JPEG files the jpeg_start method (from dcraw.common.cpp) the do while loop does not exists (there is no tag != 0xffda in the given JPEG file, but the image can be easily viewed on Windows using Paint for example).

Here is the fixed version fo the code (we added test for the EOF):

Forums: 

Libraw build for iOS

Hi,

I'm trying to get libraw to work with iOS.
I downloaded the zip file from Github. Then based on the replies at this http://www.libraw.org/node/2054. I'm able to get the static library libraw_r.a
When I add the library to my project, I'm able to build and read image successfully in simulator.
But when I'm trying to run it on a read device, I get the error that the library build doesn't support arm64. I checked and the library only work for architecture x84_64.

Forums: 

Pages

Subscribe to RSS - LibRaw technical support