18 if ( ! function_exists(
'exif_read_data')) {
19 throw new \Intervention\Image\Exception\NotSupportedException(
20 "Reading Exif data is not supported by this PHP installation."
27 $data = @exif_read_data($image->dirname .
'/'. $image->basename);
29 if (! is_null($key) && is_array($data)) {
30 $data = array_key_exists($key, $data) ? $data[$key] :
false;