Skip to content

Commit

Permalink
Pass lens model to ExifData instance
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 22, 2024
1 parent bf9a673 commit e44eca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/php/img/io/ImageMetaData.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public function exifData($tz= null) {

$data->withMake(null === ($l= self::lookup($raw, 'Make')) ? null : trim($l));
$data->withModel(null === ($l= self::lookup($raw, 'Model')) ? null : trim($l));
$data->withLensModel(null === ($l= self::lookup($raw, 'LensModel')) ? null : trim($l));
$data->withSoftware(null === ($l= self::lookup($raw, 'Software')) ? null : trim($l));

$exif= $raw['Exif_IFD_Pointer']['data'];
Expand Down

0 comments on commit e44eca2

Please sign in to comment.