fpietka / imparse
Image Metadata Parser
v1.2
2016-01-13 12:44 UTC
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: ^5.1
- squizlabs/php_codesniffer: ^2.5
This package is auto-updated.
Last update: 2024-12-15 03:33:48 UTC
README
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'];