Remove auto-orient; don't use it on previews, only originals
This commit is contained in:
parent
bc94f0c6da
commit
d4d1192341
|
@ -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)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue