/** * Read metadata * * Returns all image metadata in an array as defined in {@link $properties}. * * @param string $f Image file path * @return array */ public static function readMeta($f) { $o = new self(); $o->loadFile($f); return $o->getMeta(); }