$iptcblock
)
本函数将一个二进制的 IPTC
块解析为单个的标记。返回一个数组,用 tagmarker 作为索引,以其值为值。如果出错或未发现
IPTC 数据则返回 FALSE
。例子见 getimagesize()。
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.
Example #1 iptcparse() used together with getimagesize()
<?php
$size = getimagesize('./test.jpg', $info);
if(isset($info['APP13']))
{
$iptc = iptcparse($info['APP13']);
var_dump($iptc);
}
?>
Note:
此函数不需要 GD 图象库.