doforumda Posted February 24, 2010 Share Posted February 24, 2010 hi i need some help using imagick. i just download imagick from url below http://www.imagemagick.org/script/binary-releases.php#windows i download this version ImageMagick-6.5.9-10-Q16-windows-dll.exe now i am trying to use the code which is in php.net website but it is not working. i think i did not install it correctly. i just run .exe file. is that enough to use i magick?? this is the php.net code <?php header('Content-type: image/jpeg'); $image = new Imagick('image.jpg'); // If 0 is provided as a width or height parameter, // aspect ratio is maintained $image->thumbnailImage(100, 0); echo $image; ?> above code displays this http://localhost/uploadfile/imagicexample.php Quote Link to comment https://forums.phpfreaks.com/topic/193191-imagick-help-needed/ Share on other sites More sharing options...
trq Posted February 24, 2010 Share Posted February 24, 2010 i just run .exe file. is that enough to use i magick?? No. The code you have is using php's imagick extension. Which is available via the PECL repo. Install instruction are in the manual. Quote Link to comment https://forums.phpfreaks.com/topic/193191-imagick-help-needed/#findComment-1017350 Share on other sites More sharing options...
doforumda Posted February 24, 2010 Author Share Posted February 24, 2010 thanks thorpe. i have another question. what will i do when i upload my website to the server? I mean to ask will i install imagick on the server as well? i will do something else? Quote Link to comment https://forums.phpfreaks.com/topic/193191-imagick-help-needed/#findComment-1017356 Share on other sites More sharing options...
trq Posted February 24, 2010 Share Posted February 24, 2010 You won't likely have control over what is installed on the server, best to check it supports imagick first. GD is the more common image library. Quote Link to comment https://forums.phpfreaks.com/topic/193191-imagick-help-needed/#findComment-1017357 Share on other sites More sharing options...
doforumda Posted February 24, 2010 Author Share Posted February 24, 2010 ok. so i dont know whether my webserver supports imagick. thorpe can please solve this problem on following link http://www.phpfreaks.com/forums/index.php/topic,288921.0.html Quote Link to comment https://forums.phpfreaks.com/topic/193191-imagick-help-needed/#findComment-1017365 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.