getNumberOfFormats() public méthode

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