Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1 KB

README.md

File metadata and controls

36 lines (24 loc) · 1 KB

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