magickcore api issues
Posted: 2009-12-12T15:14:19-07:00
I have got two magickcore api (6.5.8-5) issues.
1) I needed to add (in ImageMagick-6.5.8\Magick++\lib\Magick++\include.h) two following two lines to compile ImageMagick successfully:
using MagickCore::ForwardFourierTransformImage;
using MagickCore::InverseFourierTransformImage;
2) I've got a very weird problem. I made an avisynth plugin (called Immaavs; http://forum.doom9.org/showthread.php?t=135928) which is able to read and write images using the ImageMagick dll's (using the magickcore api). I copied all ImageMagick dll's to my system32 folder. The plugin reads and writes images fine, but i have the following issue:
When i remove the ImageMagick-6.5.8 folder (in particular ImageMagick-6.5.8\magick\module.c) AviSynth won't load the plugin anymore. I don't understand why. Why does it look for that file at all (all it should need are the dll's which are in the system32 folder)? I didn't have this problem with the 6.4.0 dll's. Has it something to do with the following issue?:
Changes 6.2.8-3:
* GetMagickModulePath() at line 803 in magick/module.c the variable 'home'
is not freed before returning.
I hope i described my problem clearly.
1) I needed to add (in ImageMagick-6.5.8\Magick++\lib\Magick++\include.h) two following two lines to compile ImageMagick successfully:
using MagickCore::ForwardFourierTransformImage;
using MagickCore::InverseFourierTransformImage;
2) I've got a very weird problem. I made an avisynth plugin (called Immaavs; http://forum.doom9.org/showthread.php?t=135928) which is able to read and write images using the ImageMagick dll's (using the magickcore api). I copied all ImageMagick dll's to my system32 folder. The plugin reads and writes images fine, but i have the following issue:
When i remove the ImageMagick-6.5.8 folder (in particular ImageMagick-6.5.8\magick\module.c) AviSynth won't load the plugin anymore. I don't understand why. Why does it look for that file at all (all it should need are the dll's which are in the system32 folder)? I didn't have this problem with the 6.4.0 dll's. Has it something to do with the following issue?:
Changes 6.2.8-3:
* GetMagickModulePath() at line 803 in magick/module.c the variable 'home'
is not freed before returning.
I hope i described my problem clearly.