EDIT: The script is actually segfaulting whether the image data is written (because of getImageBlob) or not. Here's a minimal test case, to be run via php -f thumb.php with the image in question saved in the same directory as original.png:
Code: Select all
<?php
$thumb = new Imagick('original.png');
$thumb->setImageFormat('png');
//echo $thumb->getImageBlob();
$thumb->writeImage('duplicate.png');
?>