<?php
bool Imagick::destroy();
?>
<?php
$url = PATH2IMGL . '/others/IMG_10703C.jpg';
$image = file_get_contents($url);
$imagick = new Imagick();
$imagick->readImageBlob($image);
// Comment the destroy() function which
// will display the image on the web page
$imagick->destroy();
// If the destroy() function is commented out:
// Uncomment the next lines
// to display the image blob
// $s = $imagick->getImageBlob();
// echo $s;
?>