Remove auto-orient; don't use it on previews, only originals
authorMark Felder <feld@FreeBSD.org>
Wed, 26 Aug 2020 14:28:25 +0000 (14:28 +0000)
committerMark Felder <feld@FreeBSD.org>
Wed, 26 Aug 2020 14:28:25 +0000 (14:28 +0000)
lib/pleroma/helpers/media_helper.ex

index a43352ae0cc8518f4a8fd2b102f7f2880d00a0bc..db0c4b0cf11148b6dcc01c90a8ee79bd68c7b83e 100644 (file)
@@ -27,7 +27,6 @@ defmodule Pleroma.Helpers.MediaHelper do
     quality = options[:quality] || 85
     resize = Enum.join([max_width, "x", max_height, ">"])
     args = [
-    "-auto-orient", # Support for EXIF rotation
     "-resize", resize,
     "-quality", to_string(quality)
     ]