开发者

Is there a PHP class that helps to embed IPTC data into JPEG? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜