How do I install the Demosaic Packs?

Hi @ all!

I'm using LibRaw to write a simple RAW Converter with QT under Windows using Visual Studio 2010.

Now I'm trying to install the demosaic packs for libraw 0.16.2 but I am not able to do so.

I've tried to use the pre-compiled .zip File and to rebuilt them for my system using the documentation ( used Windows: Native Building ). This was successful without any error. Then I tried to test whether the packs are installed. I found this code sample but I am not quite sure if it works for me, I just get this for every demosaicing routine in the ppm file:

0 0

When I use dcraw_process() and dcraw_ppm_tiff_writer() I cannot see any difference in the demosaicing packs GPL2 & GPL3 compared to the ahd algorithm which is used when no additional demosaic packs are installed. I know they would differ just a little bit.

Is there any other chance to test whether the packs are installed? Have I installed them right?



There is no any runtime check

There is no any runtime check to check demosaic pack compiled in.

Make sure that you compile LibRaw with LIBRAW_DEMOSAIC_PACK_GPL2 and LIBRAW_DEMOSAIC_PACK_GPL3 defines.

-- Alex Tutubalin