PHP.nl

iptcparse

iptcparse

Parse a binary IPTC block into single tags

 **iptcparse** string $iptc_block

Parses an block into its single tags. IPTC

iptc_blockA binary IPTC block.

Returns an array using the tagmarker as an index and the value as the value. It returns false on error or if no IPTC data was found.

**Voorbeeld: iptcparse() used together with **

<?php
$size = getimagesize('./test.jpg', $info);
if(isset($info['APP13']))
{
    $iptc = iptcparse($info['APP13']);
    var_dump($iptc);
}
?>