After much research, the best I could find is this old script here:
http://www.ozhiker.com/electronics/pjmt/index.html
It needs much updating, but generally works well.
Вопрос
I've written a fairly extensive script which manages images.
PHP imaging libraries strip meta data by default. So embedded data (like keywords, descriptions, author, etc) are gone. I've written a fairly extensive image management system, but sadly the IPTC management is still lacking much.
In the past I've written much of my own functions, but now I'd like to use a library which:
Having looked around, I can't seem to find a modern or complete package which:
If anyone knows any classes or sets of functions available somewhere, that would be great. I've looked everywhere and cannot find one.
Thanks for any help. I have searched and cannot find a decent library.
Решение
After much research, the best I could find is this old script here:
http://www.ozhiker.com/electronics/pjmt/index.html
It needs much updating, but generally works well.
Другие советы
PHP has some IPTC functionality by default:
getimagesize()
you can get additional info about images,iptcparse()
you can parse IPTC data from info (which comes from getimagesize()
),iptcembed()
you can embed IPTC data into a jpeg file.