convert() public méthode

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