-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi, I'm using the following code:
`var originImage = await s3.getObject(params).promise();
var buffer = await sharp(originImage.Body).withMetadata().toBuffer();
var parser = require('exif-parser').create(buffer);
var exifData = await metaDataService.Convert(parser.parse());`
All the data is fine, expect for the dates. I'm getting the following:
ModifyDate: 1595773338,
DateTimeOriginal: 1595168559,
CreateDate: 1595168559,
All these and translated to dates from 1970 (!).
But the image creation date is 19/07/2020 14:22.
What might be the problem?
Thanks
Metadata
Metadata
Assignees
Labels
No labels