convert() public method

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