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