Web Hosting Talk







View Full Version : ImageMagick


Brian Farkas
02-03-2002, 06:36 PM
Hi,
One of our clients has inquired about whether it was possible for us to install ImageMagick on our server. I wanted to get some feedback from hosts that have already done so...

Does imagemagick present any security or performance problems? Did you run into any issues during the installation I should know about beforehand? Any other applicable information?
Any help you can provide is appreciated.

Thanks,

Brian Farkas

ffeingol
02-03-2002, 08:10 PM
Brian,

I don't do web hosting, but I do have the software installed. Most people use IM to rescale images for thumbnails. That seems to work pretty slick with no problems.

Frank

priyadi
02-04-2002, 04:02 AM
What o/s? Some o/s install ImageMagick by default, so you might want to verify if you already have it installed. If it is not installed, your o/s vendor probably has it already packaged and ready to install.

It won't create major security hole or such, it is merely a graphic manipulation library and utility, just like GD, but larger and more sophisticated.

Brian Farkas
02-04-2002, 09:51 PM
Thanks Frank and priyadi. The OS is RH Linux 6.2... I don't believe that has it installed by default.

In addition to security, one of my other major concerns was the load it would place on the server. Is this a very resource intensive app?

Thanks,

Brian

ffeingol
02-04-2002, 11:07 PM
not a great load hog that I know of. Again, it's just image manulipation.

Frank

Brian Farkas
02-04-2002, 11:47 PM
Great, thanks a lot for your input. I really appreciate it.

AlaskanWolf
02-05-2002, 12:43 AM
brian, let me know if you install it, i tired installing it in the whm area under perl modules

Image :: ImageMagick or whatever its called, it failed to install on 2 machines using Cpan....

Brian Farkas
02-05-2002, 12:53 AM
Hi Gary,
You should be able to simply grab the source from here:
ftp.nluug.nl/pub/ImageMagick/ImageMagick-5.4.2-3.tar.gz

And follow the instructions in the README.txt to install it... I believe you simply have to:

untar it
run ./configure
then "make install"
Good luck,

Brian

priyadi
02-05-2002, 04:31 AM
Originally posted by AlaskanWolf
brian, let me know if you install it, i tired installing it in the whm area under perl modules

Image :: ImageMagick or whatever its called, it failed to install on 2 machines using Cpan....

Try installing it manually from the shell: perl -MCPAN -e 'install Image::Magick'. It might require some interaction from you, hence cannot be installed from WHM automatically.

Alan - Vox
02-05-2002, 01:06 PM
Ive been unable to get any of these methods to work :(

Curious Too
02-05-2002, 01:51 PM
Can you post your error messages? I have ImageMagick running on 4 CPanel servers but I always had to install PerlMagick first -- there were dependency problems without PerlMagick.

alchiba
02-05-2002, 02:39 PM
I've installed and run ImageMagick on my machines without any problems at all -- RH 6.2/7.1. Don't think I needed PerlMagick, though. However, it will not compile/run unless you've got the mimimum GD lib version installed first, per the instructions.

Alan - Vox
02-05-2002, 03:17 PM
Note (probably harmless): No library found for -ljasper
Writing Makefile for Image::Magick
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap Magick.xs > Magick.xsc && mv Magick.xsc Magick.c
cc -c -I../ -I.. -I/usr/include/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"5.41\" -DXS_VERSION=\"5.41\" -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE -DHAVE_CONFIG_H Magick.c
Magick.xs: In function `XS_Image__Magick_Montage':
Magick.xs:5717: structure has no member named `compose'
make: *** [Magick.o] Error 1
/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible


I get the same error doing it by hand, dont get that error when i to by the shell or compile by hand as well.

priyadi
02-05-2002, 05:20 PM
Looks like there are some incompatibilities in their data structure. Try upgrading imagemagick to the latest version if you haven't done so. The latest version of PerlMagick (CPAN always installs the latest version) probably expects to have the latest version of ImageMagick installed.

Alternatively you can try compiling an older version of PerlMagick, but as far as I know you must install it manually without CPAN.

Alan - Vox
02-05-2002, 05:22 PM
I got it working.

http://groups.google.com/groups?hl=en&threadm=slrna51obh.1ef.mgjv%40verbruggen.comdyn.com.au&rnum=3&prev=/groups%3Fq%3Dperlmagick%26hl%3Den%26selm%3Dslrna51obh.1ef.mgjv%2540verbruggen.comdyn.com.au%26rnum%3D3

done what that guy done

mkaufman
02-05-2002, 07:07 PM
Originally posted by Brian Farkas
Hi Gary,
You should be able to simply grab the source from here:
ftp.nluug.nl/pub/ImageMagick/ImageMagick-5.4.2-3.tar.gz

And follow the instructions in the README.txt to install it... I believe you simply have to:

untar it
run ./configure
then "make install"
Good luck,

Brian

You should do "make" before "make install" also....