getNumberOfFormats() public method

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