Extract EXIF data from photographs
$ npm install --save-dev gulp-exif
gulp-exif
adds exif property to the file
as it is returned by the node-exif
.
var gulp = require('gulp');
var exif = require('gulp-exif');
gulp.task('default', function () {
return gulp.src('src/**.jpg')
.pipe(exif())
.pipe(/* custom rename or filter process */)
.pipe(gulp.dest('rename-dest'));
});
- Proper error handling
- Proper Stream and Buffer handling
- Test coverage
MIT © Shimon Schwartz