Get the array of supported formats of Imagick.
public getFormats ( ) : array | ||
return | array |
public function testImageFormats() { $i = new Gd(__DIR__ . '/../tmp/test.jpg'); $this->assertEquals(5, count($i->getFormats())); $this->assertEquals(5, $i->getNumberOfFormats()); }