관리-도구
편집 파일: gmagickdraw-024-scale.phpt
--TEST-- Test scale --SKIPIF-- <?php /* $Id: gmagickdraw-024-scale.phpt 280206 2009-05-09 18:22:48Z vito $ */ if(!extension_loaded('gmagick')) die('skip'); ?> --FILE-- <?php $filename = dirname(__FILE__) . '/test_constructor.jpg'; $gm = new GMagick(); $gd = new GMagickDraw(); $gm->read("magick:rose"); $gd->rectangle(20,20,30,30); $gd->scale(0.5,0.5); $gm->drawImage($gd); $gm->write($filename); unlink($filename); echo "ok"; ?> --EXPECT-- ok