note 90576 added to imagick.installation
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 29 Apr 2009 03:29:55 +0000 |
| Subject: | note 90576 added to imagick.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153955@lists.php.net to get a copy of this message | ||
Hello
I know what is your problem:
If "PHP -i" shows that Magickwand is installed but it does not appear in phpinfo() this is
because you modified the wrong PHP.ini file.
Xampp is really wicked: there are multiple PHP.ini files.
I also had this problem.
Check this and when MagickWand appears in your phpinfo() you find some samples here:
www.ioncannon.net/php/61/php-imagemagick-magickwand-examples
For example this one rotates an image by 45 degree:
$resource = NewMagickWand();
MagickReadImage( $resource, 'small_flower.jpg' );
MagickRotateImage( $resource, null, 45 );
header( 'Content-Type: image/gif' );
MagickEchoImageBlob( $resource );
----
Server IP: 190.54.16.132
Probable Submitter: 201.246.125.61
----
Manual Page -- http://www.php.net/manual/en/imagick.installation.php
Edit -- https://master.php.net/note/edit/90576
Del: integrated -- https://master.php.net/note/delete/90576/integrated
Del: useless -- https://master.php.net/note/delete/90576/useless
Del: bad code -- https://master.php.net/note/delete/90576/bad+code
Del: spam -- https://master.php.net/note/delete/90576/spam
Del: non-english -- https://master.php.net/note/delete/90576/non-english
Del: in docs -- https://master.php.net/note/delete/90576/in+docs
Del: other reasons-- https://master.php.net/note/delete/90576
Reject -- https://master.php.net/note/reject/90576
Search -- https://master.php.net/manage/user-notes.php