Remove auto-orient; don't use it on previews, only originals

This commit is contained in:
Mark Felder 2020-08-26 14:28:25 +00:00
parent bc94f0c6da
commit d4d1192341

View file

@ -27,7 +27,6 @@ defp prepare_resize_args(%{max_width: max_width, max_height: max_height} = optio
quality = options[:quality] || 85 quality = options[:quality] || 85
resize = Enum.join([max_width, "x", max_height, ">"]) resize = Enum.join([max_width, "x", max_height, ">"])
args = [ args = [
"-auto-orient", # Support for EXIF rotation
"-resize", resize, "-resize", resize,
"-quality", to_string(quality) "-quality", to_string(quality)
] ]