From 370f9fb30e622ae07d0576da73efd818bc747a36 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 13 Oct 2016 18:28:07 +0200 Subject: [PATCH] Improved exif data import --- wcfsetup/install/files/lib/util/ExifUtil.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/lib/util/ExifUtil.class.php b/wcfsetup/install/files/lib/util/ExifUtil.class.php index bc9fd6be88..d4dacbf99d 100644 --- a/wcfsetup/install/files/lib/util/ExifUtil.class.php +++ b/wcfsetup/install/files/lib/util/ExifUtil.class.php @@ -214,6 +214,10 @@ final class ExifUtil { // CCD sensitivity equivalent to Ag-Hr film speedrate. (unsigned short) $exifData['ISOSpeedRatings'] = intval($rawExifData['ISOSpeedRatings']); } + if (isset($rawExifData['Flash'])) { + // Indicates the status of flash when the image was shot. (unsigned short) + $exifData['Flash'] = intval($rawExifData['Flash']); + } return $exifData; } -- 2.20.1