Use of Rawspeed 2

Hi,

I would like to be able to use LibRaw with RawSpeed 2.

Recently RawSpeed has been updated.
It no longer needs libxml.

However, rawspeed support coded in libraw (notably in 'libraw_cxx.cpp') still targets the original version of RawSpeed.

Can you make LibRaw compatible with RawSpeed 2?
If not, what needs to be changed, in general?

Thanks and greetings,
Auke

Forums: 

Use RawSpeed from master

Use RawSpeed from master branch, not from development (unstable) one.

-- Alex Tutubalin @LibRaw LLC

Hi,

Hi,

Yes, I could do that, but I really would like to use the updated rawspeed, with FUJIFILM X-trans support.

I already 'translated' camers.xml to the correct format.
Now I need to alter the code in "libraw_cxx.cpp" to use pugixml instead of libxml2 in order to load the (updated) "rawspeed_xmldata.cpp" into the 'CameraMetaData' class.

Could you perhaps point me into the right direction for that?

Thanks and greetings,
Auke

LibRaw uses RawSpeed only for

LibRaw uses RawSpeed only for selected (tested) formats. Fuji RAF is not in this list yet, so you'll need to change more source code.
If you change the source, you can remove libxml2 from dependencies on your copy.

-- Alex Tutubalin @LibRaw LLC

Thanks for the quick reply.

Thanks for the quick reply.

Just one more question:
Are you planning to include RAF support in rawspeed?
It would seem that only the development branch of Rawspeed is actually developing things at this moment...

Greetings,
Auke

RawSpeed/development looks

RawSpeed/development looks very unstable. For example, Nikon small-NEF support is definitely broken; multi-sample DNG support (Fuji SuperCCD dngs) is not compatible with LibRaw in data layout and many other things looks strange (e.g. 'unprocessed raw' concept without tone curve).

So, to use development RawSpeed with LibRaw it needs heavy make-up.

-- Alex Tutubalin @LibRaw LLC

RawSpeed master has

RawSpeed master has transferred from Klaus Post to darktable team.
There are a *lot* of changes in this version, in particular it requires modern C++ and current version does not compile with MS Visual Studio (I have not tried, but developers says it).
This branch not tested by LibRaw team and there is no any timeframe for that ('later this year or next year').

So, you may try to use this version with LibRaw on you own risk. Most likely, you'll need to change something (in RawSpeed or in LibRaw or in both). Patches for LibRaw are welcome.

-- Alex Tutubalin @LibRaw LLC