From b34ec45d8bee10f3bb05d30df1e539b2df71328c Mon Sep 17 00:00:00 2001 From: jackie111222 <62723172+jackie111222@users.noreply.github.com> Date: Sun, 25 Jul 2021 12:22:11 +0200 Subject: [PATCH] Update IptcCommand.php Extending IPTC of ReleaseDate and ReleaseTime attributes --- 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 ae953d20..b78a2a8e 100644 --- a/src/Intervention/Image/Commands/IptcCommand.php +++ b/src/Intervention/Image/Commands/IptcCommand.php @@ -36,6 +36,8 @@ class IptcCommand extends AbstractCommand $data['Category'] = isset($iptc["2#015"][0]) ? $iptc["2#015"][0] : null; $data['Subcategories'] = isset($iptc["2#020"][0]) ? $iptc["2#020"][0] : null; $data['Keywords'] = isset($iptc["2#025"][0]) ? $iptc["2#025"] : null; + $data['ReleaseDate'] = isset($iptc["2#030"][0]) ? $iptc["2#030"][0] : null; + $data['ReleaseTime'] = isset($iptc["2#035"][0]) ? $iptc["2#035"][0] : 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;