Link to home
Start Free TrialLog in
Avatar of Hulktheallmighty
Hulktheallmighty

asked on

how to install imagemagick

Hi everyone.
I am trying to work with images useing imagemagick but i can't figer out how to install it. can anyone please help me.
Thanks Hulk
Avatar of vdhant
vdhant

Download ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/ImageMagick-5.5.7-Q16-windows-dll.exe 
Save on desktop
dbl-click once downloaded and run install - don't change install location (just so the rest of this makes sense!)
put a check in the option to install the COM object for VB (cant remember the exact words - read carefully)
Go to install folder (C:\Program Files\ImageMagick-5.5.7-Q16)
open the ImageMagickObject folder...then open the Tests folder
then dbl-click SimpleTest.vbs - if it works - You're done! (Users of IIS skip to IIS section below)
Otherwise, if you get an object error:
Leave the window with SimpleTest.vbs open to test later
open a window for folder C:\Program Files\ImageMagick-5.5.7-Q16\ImageMagickObject
and rt-click ImageMagickObject.dll and select copy
then open a window to your windows system32 folder (mine is c:\winnt\system32) and paste the dll file there
Then register it using regsvr32:
open a command prompt
type cd\ and press enter
cd to your windows system32 folder (mine: cd c:\winnt\system32)
type regsvr32 ImageMagickObject.dll and press enter - it should give you a dll registered successfully message (If not - give up!!!, but this has always worked for me)
then dbl-click SimpleTest.vbs - if it works - You're done! (Users of IIS skip to IIS section below)
IIS users - after successfully registering the dll, you need to open a command window and type iisreset then press enter to stop-restart the webserver
then you can create an asp page and do:
<%
Set img = CreateObject("ImageMagickObject.MagickImage.1")
%>
ASKER CERTIFIED SOLUTION
Avatar of ee_ai_construct
ee_ai_construct
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial