画像はありますか?画像の形式は gif です。
<?php
$animation = new Imagick('1.gif');
echo $animation->getImageWidth();
echo "\n";
echo $animation->getImageHeight();
?>
戻り70 124
ます。
<?php
$a = getimagesize('1.gif');
echo ($a[3]);
?>
戻りwidth="160" height="217"
ます。他のgif画像を試してみましたが、結果は同じです。