Ejemplo n.º 1
0
 /**
  * Returns an ImageInfo object with the details of the image passed, including its 
  * width, height, type and file path
  */
 function create($path)
 {
     $arr = ImageUtility::getImageSize($path);
     $ret = new ImageInfo($path, $arr[0], $arr[1], $arr[2], $arr[3]);
     return $ret;
 }