R_User
R_User

Reputation: 11082

How to manipulate diverse meta-informations of image files in PHP

There are diverse formats to add meta-Information to image (and video) files. nearly every digitalcamera add them to fotos. And sometimes people don't want them to be published.

The standards I found so far are:

  1. Exif
  2. IPTC-NAA
  3. XMP

Are there more? (e.g. not image specific, but general meta standard, that can be attached to the end of every file)

Reading the information that is saved, using PHP seems to be possible for the three named formats.

But how can the data be manipulated (changed, added)

How can I delete all possible meta-data using PHP? (i.e. all infomation that does not belong to the image itself)

Upvotes: 2

Views: 813

Answers (1)

Gordon
Gordon

Reputation: 317177

Open and save the image with GD. This should remove all meta data because GD lib cannot handle it.

If that doesn't cut it, try any of

Upvotes: 2

Related Questions