Example #1
0
 /**
  * Constructor
  *
  * @param	string	$file		Full link to the image-file
  * @param	mixed	$image_id	False or integer
  */
 public function __construct($file, $image_id = false)
 {
     if (self::$function_exists === null) {
         self::$function_exists = function_exists('exif_read_data') ? true : false;
     }
     if ($image_id) {
         $this->image_id = (int) $image_id;
     }
     $this->file = $file;
 }