Closed
Description
-strip is used to remove all EXIF information, and no rotation is applied. Hence, pictures taken on a smartphone (at least an iPad or iPhone) will be rotated incorrectly.
An easy fix is to include '-auto-orient' in the imageMagick.resize() call:
imageMagick.resize({
width: opts.width,
height: opts.height,
srcPath: options.uploadDir() + '/' + fileInfo.name,
dstPath: options.uploadDir() + '/' + version + '/' + fileInfo.name,
customArgs: ['-auto-orient']
}, finish);
Metadata
Metadata
Assignees
Labels
No labels