convert() public method

Convert the image object to the new specified image type.
public convert ( string $type ) : Imagick
$type string
return Imagick
コード例 #1
0
ファイル: ImagickTest.php プロジェクト: nicksagona/PopPHP
 public function testConvertExceptionDupeType()
 {
     $this->setExpectedException('Pop\\Image\\Exception');
     $i = new Imagick(__DIR__ . '/../tmp/test.gif');
     $i->convert('gif');
 }