php man page for iptcparse

Query: iptcparse

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IPTCPARSE(3)								 1							      IPTCPARSE(3)

iptcparse - Parse a binary IPTC block into single tags.

SYNOPSIS
array iptcparse (string $iptcblock)
DESCRIPTION
Parses an IPTC block into its single tags.
PARAMETERS
o $iptcblock - A binary IPTC block.
RETURN VALUES
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.
EXAMPLES
Example #1 iptcparse() used together with getimagesize(3) <?php $size = getimagesize('./test.jpg', $info); if(isset($info['APP13'])) { $iptc = iptcparse($info['APP13']); var_dump($iptc); } ?>
NOTES
Note This function does not require the GD image library. PHP Documentation Group IPTCPARSE(3)
Related Man Pages
property_exists(3) - php
array_key_exists(3) - php
exif_imagetype(3) - php
image_type_to_mime_type(3) - php
iptcembed(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!