note 25992 added to function.iptcparse
| From: | Scin at rack1 dot php dot net | Date: | Mon, 14 Oct 2002 20:52:25 +0000 |
| Subject: | note 25992 added to function.iptcparse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38063@lists.php.net to get a copy of this message | ||
If you are not sure where a particular value you entered into the IPTC block in photoshop or any
other software is being stored, simply run a foreach loop thru the block and find out:
(Insert a new paragraph in the beggening of the first echo)
$size = GetImageSize ("testimg.jpg", &$info);
$iptc = iptcparse($info["APP13"]);
foreach($iptc as $key => $value)
{
echo "<b>IPTC Key:</b> $key <b>Contents:</b> ";
foreach($value as $innerkey => $innervalue)
{
if( ($innerkey+1) != count($value) )
echo "$innervalue, ";
else
echo "$innervalue";
}
}
--
http://www.php.net/manual/en/function.iptcparse.php
http://master.php.net/manage/user-notes.php?action=edit+25992
http://master.php.net/manage/user-notes.php?action=delete+25992
http://master.php.net/manage/user-notes.php?action=reject+25992