--TEST-- Test chop image --SKIPIF-- --FILE-- read("magick:rose"); $gm->chopImage(10, 10, 0, 0); $gm->write($filename); echo "ok"; ?> --EXPECTF-- ok