MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
rladd
Post
by rladd » 2010-06-17T07:49:23-07:00
This code was working on my old Win box, but doesn't seem to go on CentOS.
I must've done something stupid. Can anyone help?
Code: Select all
$magick_wand = NewMagickWand();
MagickReadImage($magick_wand, 'image.jpg');
header('Content-Type: image/gif');
MagickEchoImageBlob($magick_wand);
Script outputs nothing; no errors, nada.
Thanks!
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-06-17T08:48:56-07:00
Is MagickWand for PHP installed on your CentOS system? We just tried your script and it worked without complaint.
coolcatco888
Post
by coolcatco888 » 2010-10-07T15:31:21-07:00
to verify that this is installed create a page with:
Open that page and do a search for imagemagick in Firefox or whatever you use. If it is not there, it is not installed properly.
Users browsing this forum: No registered users and 17 guests