iptc-reader
v1.0.1
Published
Parse IPTC directory from buffer
Downloads
524
Readme
iptc-reader
Parse IPTC directory from buffer (similar to devongovett/exif-reader)
Install
$ npm install --save iptc-reader
Usage
var iptc = require('iptc-reader');
// decode raw iptc data from a buffer
var metadata = iptc(buf);
Output:
{ keywords: [ 'some', 'useful', 'tags' ],
dateCreated: '20170101',
byline: 'Author Name',
copyright: 'Copyright © Copyright',
caption: 'I\'ve taken this image during our short stop in wonderland' }
Supported tags
caption, credit, keywords, dateCreated, byline, bylineTitle, captionWriter, headline, copyright, category
License
MIT © Oleh Aleinyk