是否有一个PHP类有助于将IPTC数据嵌入JPEG?
答案 0 :(得分:1)
看看Georg Engist的努力。
答案 1 :(得分:0)
按照我为处理“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();
拥抱!
答案 2 :(得分:0)
这个类非常有效地处理图像的iptc,看看它是否有帮助...
https://github.com/agutoli/Image_Iptc
$this->_iptc = new Iptc('../logo_php.jpg');
$this->_iptc->set(Iptc::OBJECT_NAME, 'test');
$this->_iptc->write();