getInfo() public method

public getInfo ( ) : array
return array
Esempio n. 1
0
 public function testGetInfoGif()
 {
     $original = Helper::getOrig('butterfly.gif');
     $img = new Image($original);
     $info = $img->getInfo();
     is(478, $info['width']);
     is(640, $info['height']);
     is('image/gif', $info['mime']);
     is('portrait', $info['orient']);
     isEmpty($info['exif']);
     isTrue($img->isGif());
 }