Permalink
Browse files

strip out Exif/IPTC/etc. metadata from image to avoid having mismatch…

…ed orientation data
  • Loading branch information...
1 parent 16ec322 commit b78bf4feb95428b55830391a648b9d61c2207a2f @kcivey kcivey committed Nov 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 server.js
View
@@ -119,6 +119,7 @@ function getConvertOptions(optionsString) {
if (params.w || params.h) {
options.push('-resize', params.w + 'x' + params.h);
}
+ options.push('+profile', '*'); // remove Exif/IPTC/etc. metadata to avoid rotation issues
return options;
}

0 comments on commit b78bf4f

Please sign in to comment.