LibRaw technical support

Stable LibRaw versions: technical support, errors, API questions

Error with Olympus .orf?

Loading an Olympus .orf file (this one: https://img.photographyblog.com/reviews/olympus_tg_5/sample_images/olymp...), the...

iProcessor.imgdata.other.desc

...field was set to a long string of many "O" characters; this seems unlikely, and I am not seeing those in a binary search of the file. Perhaps the field was not set (or cleared) on decode?

--Ben

Forums: 

Is the library built by LibRaw.sln thread-safe?

I wanna build LibRaw using LibRaw.sln provided in the downloaded source package, instead of the steps using nmake described here: https://www.libraw.org/docs/Install-LibRaw-eng.html. That webpage claims that "Only the thread-safe library is built under Win32", which implies that the output libraw.dll is thread-safe. So my question is: is the library built by LibRaw.sln still thread-safe?

My environment and settings:
- Windows 10 version 1803, 64bit
- Visual Studio 2015 Update 3
- Release x64 build

Forums: 

using example, image data not understood

Reading a CR2 canon file from a Canon 6D MK1, known good. Using the example code on the "https://www.libraw.org/docs/API-overview.html" page; the max value out of any RGBG sample is about 5600. Scaling the data up ((data/5600.0)*65535) to a full 16bit sample results in what looks like fairly even tempered noise, not anything like the image data that is actually in the file.

I want to read out the RGB values of the image, and this doesn't seem to do that:

Forums: 

Using LibRaw.sln to build to support FujiFilm GFX 50S

I am using LibRaw.sln to build LibRaw but can't figure out what I need to change in order to support the new FujiFilm GFX 50S camera. I tried adding the Preprocessor define LIBRAW_OPENMP but that did not work - I get " Cannot unpack C:\CameraFilesTests\IN\Canon\MM8717_170913_08471.RAF: Input/output error"

Forums: 

Compiling with emscripten

Hi there,

I am trying to compile LibRaw with emscripten for use with a web project, but struggling, and am unable to find any existing resources online.

I have successfully compiled LibRaw in Visual Studio, but emscripten requires a CMake file, which my knowledge of is limited, and Visual Studio support for emscripten ended with VS2010.

I have also set up emscripten correctly and compiled "hello world" etc., but I do not know how to organise the code so as to compile(/transpile) with emscripten.

Forums: 

Pages

Subscribe to RSS - LibRaw technical support