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