Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPTC Data Management Library

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.

like image 551
Orangeman555 Avatar asked May 02 '13 22:05

Orangeman555


People also ask

Where is IPTC data stored?

In TIFF files the IPTC data is stored in TIFF tag with Id = 34377 (see TIFF Non-Image Data Structure for metadata structure of the tag). In JPEG files, the IPTC data is stored in Photoshop Image Resource APP13 marker segment (see JPEG Non-Image Data Structure).

What is the purpose of IPTC?

The International Press Telecommunications Council (IPTC) has stated that its mission is to simplify the distribution of information.

What is the difference between IPTC and XMP?

There are two others: IPTC and XMP. The IPTC standard was created mainly for authorial descriptions of pictures and communication between photographers and publishers. Adobe's XMP is the most open and modern of the three standards, and can include custom information.

What is IPTC data?

IPTC stands for 'International Press Telecommunications Council'. This is a standardised metadata format created for the use of media and press agencies. Included is the type of information they needed to publish a photo. IPTC data includes image details like the title, description, and location.


1 Answers

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.

like image 111
Orangeman555 Avatar answered Sep 20 '22 06:09

Orangeman555