Page 1 of 1

How to install/use MagickWand (on Kubuntu)

Posted: 2007-02-09T19:27:17-07:00
by MiDU
Hello everybody,

First of all, I'm french, and my english skill is really low, so please excuse my bad expression.

I'm trying to use ImageMagick to load pictures and modify them, I saw that for use ImageMagick with C I had to use MagickWand.

By reading the first tutorial I see that the compilation line is

Code: Select all

gcc `Wand-config --cflags --cppflags` my_file_name.c `Wand-config --ldflags --libs`
But when I try to compile, it displays that to me :

Code: Select all

bash: Wand-config : unknown command
bash: Wand-config : unknown command
test.c:3:29: error: wand/MagickWand.h: No such file or directory
I thought that by installing ImageMagick I installed MagickWand, but it seems not to be the case.
I tryed to verify if ImageMagick was installed, and when I type convert -version it returns me

Code: Select all

Version: ImageMagick 6.2.4 11/01/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC
So I suppose that it's ok.

But now I don't know how to install MagickWand, the only doc I found on google is for MagickWand for PHP.

I hope I was understandable :p

Regards,

MiDU

edit : By reading the makefile I didn't find either any info about MagickWand.

Re: How to install/use MagickWand (on Kubuntu)

Posted: 2007-02-09T19:46:20-07:00
by magick
MagickWand is available in ImageMagick 6.2.4. Look for libWand.so on your system. If you can't find it, its possible its available as a separate RPM install. If all else fails, you can always download the source and build/install it yourself.

Re: How to install/use MagickWand (on Kubuntu)

Posted: 2007-02-10T10:38:05-07:00
by MiDU
Ok thanks it works. I reinstalled ImageMagick by building it by myself (not using apt-get) and everythings seems ok.