Screen2.0

 
 
 

hints & tips // 2007.03.27 08:49:40 [hh]

PHP-EXIF-Bibliotheken erlauben den Zugriff auf Meta-Daten von Bildern

Um die Meta-Daten in JPEGs auf einem Server nicht manuell einzupflegen, bietet sich die automatisierte Extraktion von EXIF("Exchangeable Image File Format")-Meta-Daten aus den Bildern (etwa Aufnahmedatum, Verschlußzeit und ISO-Emfindlichkeit) an. Aber wie? Screen2.0 stellt zwei PHP-Libraries vor, welche nicht abhängig von zusätzlichen Modulen wie "libexif" sind, die mit der PHP-Installation auf dem Server compiliert wurden.

1. "PEL: PHP EXIF Library"

"PEL" erlaubt die Manipulation aller Kameradaten. Der Autor Martin Geisler schildert auf der englischsprachigen Site folgende Vorteile:

2. "Exifixer"

"Exifixer" ist eines von vielen interessanten Foto-Scripts von Jake Olefsky: "I wrote this PHP library to do a better job at reading the EXIF data embeded in images taken from digital cameras. If you have PHP compiled in a certain way, you may already be enjoying some functions that do this to some degree, but the default implementation fails to parse all the embebed tags. My library will read many, many more tags, and it will work without needing to compile PHP with the exif option."

 

Werbung