Is there a PHP开发者_运维技巧 class that helps to embed IPTC data into JPEG?
Have a look at Georg Engist's effort.
follows this class I made to deal with "IPTC" https://github.com/agutoli/Image_Iptc
require 'Iptc.php';
$iptc = new Iptc('logo_php.jpg');
$iptc->set(Iptc::KEYWORDS,array(
'keyword1','keyword2'
));
$iptc->write();
hug!
This class is very efficient to handle the iptc of images, take a look if it helps ...
https://github.com/agutoli/Image_Iptc
$this->_iptc = new Iptc('../logo_php.jpg');
$this->_iptc->set(Iptc::OBJECT_NAME, 'test');
$this->_iptc->write();
精彩评论