Thursday, 2 October 2014

Parse a binary IPTC block into single tags

array iptcparse ( string $iptcblock )

Parse a binary IPTC block into single tags.

Parses an » IPTC block into its single tags.

You might have noticed that several metadata fields in Photoshop are not available via IPTC.



Someone have written a library "PHP JPEG Metadata Toolkit" which fixes this problem as it allows reading, writing and interpreting of virtually any type of metadata, including these missing fields.


Try it out:
http://www.ozhiker.com/electronics/pjmt/index.html



Function Return Value
It return an array using the tagmarker as an index and the value as the value and  returns FALSE on error or if no IPTC data was found.