Page 1 of 1

Getting IPTC data

Posted: 2008-01-23T06:19:55-07:00
by danielmauch
Hi

I want to get the IPTC data like:

Code: Select all

identify -format "%[IPTC:2:120]" filename.jpg


but how do I get it in php?

Code: Select all

$im = new Imagick($filename);
$im->getImageFormat() ;
echo $im;
Does not work?!

Daniel

Re: Getting IPTC data

Posted: 2008-01-23T10:03:43-07:00
by mkoppanen
check Imagick::getImageProfile() and getImageProperty