GD Функции
PHP Manual

iptcparse

(PHP 4, PHP 5)

iptcparseParse a binary IPTC block into single tags.

Описание

array iptcparse ( string $iptcblock )

Parses an » IPTC block into its single tags.

Список параметров

iptcblock

A 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.

Примеры

Пример #1 iptcparse() used together with getimagesize()

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

Примечания

Замечание: This function does not require the GD image library.


GD Функции
PHP Manual