Merge remote-tracking branch 'flobraeun/master'

master
Crawl 7 years ago
commit a172b0e592
  1. 3
      lib/convenience/autoOrient.js

@ -25,7 +25,8 @@ module.exports = function (proto) {
// nativeAutoOrient option enables this if you know you have >= 1.3.18
if (this._options.nativeAutoOrient || this._options.imageMagick) {
this.out('-auto-orient');
this.strip();
// only strip exif metadata when using graphicsmagick, imagemagick already removes the orientation tag
if (this._options.nativeAutoOrient) this.strip();
return this;
}

Loading…
Cancel
Save