image-thumb
image-thumb copied to clipboard
orientation not reserved
The orientation info in exif is not reserved, thus the image mis-oriented in image viewer.
It looks like there's a withMetadata
function that ensures exif is saved.
@panlina could you please try adding a line
.withMetadata()
there before toBuffer
: https://github.com/chrisben/image-thumb/blob/master/services/resizer.js#L93
and see if this works. Thanks!