Skip to content

Commit

Permalink
stip removes the the colorprofile which results in wrong colors for i…
Browse files Browse the repository at this point in the history
…mages with AdobeRGB profile
  • Loading branch information
reco authored and aheckmann committed Sep 19, 2022
1 parent d0c39ab commit 8e0f0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/convenience/autoOrient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -46,7 +46,7 @@ module.exports = function (proto) {
this._out.unshift.apply(this._out, transforms.concat('-page', '+0+0'));
}

this.strip();
// this.strip();

callback();
});
Expand Down

0 comments on commit 8e0f0cb

Please sign in to comment.