From: Marcel Werk Date: Thu, 13 Oct 2016 16:28:07 +0000 (+0200) Subject: Improved exif data import X-Git-Tag: 3.0.0_Beta_3~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=370f9fb30e622ae07d0576da73efd818bc747a36;p=GitHub%2FWoltLab%2FWCF.git Improved exif data import --- 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; }