convert() публичный Метод

Convert the image object to the new specified image type.
public convert ( string $type ) : Gd
$type string
Результат Gd
Пример #1
0
 public function testConvertExceptionDupeType()
 {
     $this->setExpectedException('Pop\\Image\\Exception');
     $i = new Gd(__DIR__ . '/../tmp/test.gif');
     $i->convert('gif');
 }