Open panlina opened 1 year ago
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!
The orientation info in exif is not reserved, thus the image mis-oriented in image viewer.