From 6527a8270edec33575f62a13658ca95ab3c68b2f Mon Sep 17 00:00:00 2001 From: Hari Padmanaban Date: Sun, 11 Oct 2015 20:34:12 -0500 Subject: [PATCH] Update Iptc to include SubLocation and CreationTime --- src/Intervention/Image/Commands/IptcCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Intervention/Image/Commands/IptcCommand.php b/src/Intervention/Image/Commands/IptcCommand.php index f9952b95..43239ed3 100644 --- a/src/Intervention/Image/Commands/IptcCommand.php +++ b/src/Intervention/Image/Commands/IptcCommand.php @@ -36,9 +36,11 @@ class IptcCommand extends AbstractCommand $data['Keywords'] = isset($iptc["2#025"][0]) ? $iptc["2#025"] : null; $data['SpecialInstructions'] = isset($iptc["2#040"][0]) ? $iptc["2#040"][0] : null; $data['CreationDate'] = isset($iptc["2#055"][0]) ? $iptc["2#055"][0] : null; + $data['CreationTime'] = isset($iptc["2#060"][0]) ? $iptc["2#060"][0] : null; $data['AuthorByline'] = isset($iptc["2#080"][0]) ? $iptc["2#080"][0] : null; $data['AuthorTitle'] = isset($iptc["2#085"][0]) ? $iptc["2#085"][0] : null; $data['City'] = isset($iptc["2#090"][0]) ? $iptc["2#090"][0] : null; + $data['SubLocation'] = isset($iptc["2#092"][0]) ? $iptc["2#092"][0] : null; $data['State'] = isset($iptc["2#095"][0]) ? $iptc["2#095"][0] : null; $data['Country'] = isset($iptc["2#101"][0]) ? $iptc["2#101"][0] : null; $data['OTR'] = isset($iptc["2#103"][0]) ? $iptc["2#103"][0] : null;