MagickWand installation on windows
Posted: 2007-03-25T12:17:49-07:00
I've been trying to install magickwand on windows but I think I doing something wrong.
1) First I downloaded xampplite version 1.5.5 which has php5.2.0.
2) Then I download ImageMagick-6.3.3-3-Q16-windows-static.exe and installed it.
3) After that I downloaded php_magickwand_q16_st.dll from http://www.imagemagick.org/magick/viewt ... nd+windows and saved it on php/ext folder
4) edited php.ini file and added extension=php-5.2.0_magickwand_q16_st.dll and restat server
5) uploaded the file image.jpg and test.php to server
teste.php :
<?php
$resource = NewMagickWand();
MagickReadImage( $resource, 'image.jpg' );
MagickRotateImage( $resource, NewPixelWand( 'blue' ), 45 );
header( 'Content-Type: image/jpeg' );
MagickEchoImageBlob( $resource );
?>
6) run teste.php and got this messange:
Fatal error: Call to undefined function NewMagickWand() in C:\xampplite\htdocs\image\test.php on line 3
Please, could you help me to identify what I am doing wrong?
1) First I downloaded xampplite version 1.5.5 which has php5.2.0.
2) Then I download ImageMagick-6.3.3-3-Q16-windows-static.exe and installed it.
3) After that I downloaded php_magickwand_q16_st.dll from http://www.imagemagick.org/magick/viewt ... nd+windows and saved it on php/ext folder
4) edited php.ini file and added extension=php-5.2.0_magickwand_q16_st.dll and restat server
5) uploaded the file image.jpg and test.php to server
teste.php :
<?php
$resource = NewMagickWand();
MagickReadImage( $resource, 'image.jpg' );
MagickRotateImage( $resource, NewPixelWand( 'blue' ), 45 );
header( 'Content-Type: image/jpeg' );
MagickEchoImageBlob( $resource );
?>
6) run teste.php and got this messange:
Fatal error: Call to undefined function NewMagickWand() in C:\xampplite\htdocs\image\test.php on line 3
Please, could you help me to identify what I am doing wrong?