where send me to this forum...
I ask almost same Q here:
Code: Select all
<?php
header('Content-Type: image/png');
system("convert http://www.polisphotos.com/jQueryPb/images/ui-icons_ef8c08_256x240.png -flop png:-");
?>
well what if I want to use $im = new Imagick($image); // to built web forms that modify images // not use system... is it new Imagick($image); supported by 5.5.6 version?
http://www.polisphotos.com/jQueryPb/7-i ... agick1.php the below does not work, gives:
Code: Select all
Fatal error: Class 'Imagick' not found in /home/content/p/o/l/polisphotos/html/jQueryPb/7-imagick/imagick1.php on line 20
Code: Select all
<body>
<p> </p>
<p><img src="http://www.polisphotos.com/jQueryPb/images/ui-bg_diagonals-thick_18_b81900_40x40.png" width="40" height="40" /></p>
<p>
<?php
try
{
/*** a valid image file ***/
$image = 'http://www.polisphotos.com/jQueryPb/images/ui-bg_diagonals-thick_18_b81900_40x40.png';
/*** a new imagick object ***/
$im = new Imagick($image);
echo 'Imagick';
}
catch(Exception $e)
{
echo $e->getMessage();
}
?>
</p>
<p></p>
<p><a href="http://www.polisphotos.com/jQueryPb/7-imagick/imagick1.php">
http://www.polisphotos.com/jQueryPb/7-imagick/imagick1.php</a></p>
</body>