convert() public méthode

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