fpietka/imparse

Image Metadata Parser

v1.2 2016-01-13 12:44 UTC

This package is auto-updated.

Last update: 2024-04-15 01:46:14 UTC


README

Build Status Code Coverage Scrutinizer Code Quality

Imparse - Image Metadata Parser

A library to parse Exif, IPTC and XMP metadata from an image.

Usage

Load an image in the parser:

$parser = new Imparse\Parser('picture.jpg');

Then depending on the type of metadata you want to fetch, call the appropriate method.

$parser->readExif();
$parser->getMetaData()['exif'];
$parser->readIptc();
$parser->getMetaData()['iptc'];
$parser->readXmp();
$parser->getMetaData()['xmp'];

Resources

IPTC Specifications