--TEST-- Test read/write --SKIPIF-- --FILE-- setStrokeColor($pixel)->setStrokeWidth( 2 )->setFillColor($pixel)->ellipse( 200, 100, 50, 50, 0, 360 ); $filename = dirname(__FILE__) . '/test_constructor.jpg'; $gm = new GMagick("magick:rose"); $gm->drawImage($gd); $gm->write($filename); unlink($filename); echo "ok"; ?> --EXPECT-- ok