convert() public method

Convert the image object to the new specified image type.
public convert ( string $type ) : Imagick
$type string
return Imagick
Ejemplo n.º 1
0
 public function testConvertExceptionDupeType()
 {
     $this->setExpectedException('Pop\\Image\\Exception');
     $i = new Imagick(__DIR__ . '/../tmp/test.gif');
     $i->convert('gif');
 }