문제

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