Page 1 of 1

Pretty Simple, why no worky?

Posted: 2010-06-17T07:49:23-07:00
by rladd
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!

Re: Pretty Simple, why no worky?

Posted: 2010-06-17T08:48:56-07:00
by magick
Is MagickWand for PHP installed on your CentOS system? We just tried your script and it worked without complaint.

Re: Pretty Simple, why no worky?

Posted: 2010-10-07T15:31:21-07:00
by coolcatco888
to verify that this is installed create a page with:

Code: Select all

<?php phpinfo(); ?>
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.