public function testGetInfoPng() { $original = Helper::getOrig('butterfly.png'); $img = new Image($original); $info = $img->getInfo(); is(640, $info['width']); is(478, $info['height']); is('image/png', $info['mime']); is('landscape', $info['orient']); isEmpty($info['exif']); isTrue($img->isPng()); }