getFormats() 공개 메소드

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