質問

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:

  1. Easily retrieves info, typically into an array.
  2. Can embed info easily.

Having looked around, I can't seem to find a modern or complete package which:

  1. Is reasonably lightweight.
  2. Is geared toward this specifically.

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:

  • with getimagesize() you can get additional info about images,
  • with iptcparse() you can parse IPTC data from info (which comes from getimagesize()),
  • with iptcembed() you can embed IPTC data into a jpeg file.
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top