From 8e0f0cb4c40fd8c1485dd54d584d34023e45d073 Mon Sep 17 00:00:00 2001 From: Christof Haemmerle Date: Tue, 3 Apr 2018 23:43:57 -0400 Subject: [PATCH] stip removes the the colorprofile which results in wrong colors for images with AdobeRGB profile --- lib/convenience/autoOrient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/convenience/autoOrient.js b/lib/convenience/autoOrient.js index e16c2a92..a9c0e283 100644 --- a/lib/convenience/autoOrient.js +++ b/lib/convenience/autoOrient.js @@ -25,7 +25,7 @@ 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(); + // this.strip(); return this; } @@ -46,7 +46,7 @@ module.exports = function (proto) { this._out.unshift.apply(this._out, transforms.concat('-page', '+0+0')); } - this.strip(); + // this.strip(); callback(); });