Improved exif data import
authorMarcel Werk <burntime@woltlab.com>
Thu, 13 Oct 2016 16:28:07 +0000 (18:28 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 13 Oct 2016 16:28:13 +0000 (18:28 +0200)
wcfsetup/install/files/lib/util/ExifUtil.class.php

index bc9fd6be88ba18b24134fd083cab9635aca72e4b..d4dacbf99d09155d74498aa5690f946c7c72ef45 100644 (file)
@@ -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;
        }