GD and Image 함수 목록
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.

예제

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 이미지 라이브러리가 필요하지 않습니다.


GD and Image 함수 목록
PHP Manual