Function.iptcparse

Aus PHP-Wiki

Wechseln zu: Navigation, Suche
Wohngebäudeversicherung und Wickelkommode Felice von SchardtRiesterrente . Autokredit

iptcparse — Parse a binary IPTC block into single tags.

Inhaltsverzeichnis

Beschreibung

array iptcparse ( string $iptcblock )


Parses an [IPTC] block into its single tags.

Parameter-Liste

iptcblock
  • A binary IPTC block.

Rückgabewerte

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.

Beispiele

Beispiel #1 iptcparse() used together with getimagesize()

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

Anmerkungen

Hinweis: This function does not require the GD image library.

Persönliche Werkzeuge