Skip to content

fpietka/imparse

Repository files navigation

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

About

Image Metadata Parser

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages