mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-03 16:17:59 +01:00
handle TopLeft orientation
This commit is contained in:
parent
776399347e
commit
a3ed8d98b7
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ defmodule Philomena.Processors.Jpeg do
|
|||
with {output, 0} <-
|
||||
System.cmd("identify", ["-format", "%[orientation]\t%[profile:icc]", file]),
|
||||
[orientation, profile] <- String.split(output, "\t") do
|
||||
orientation != "Undefined" or profile != ""
|
||||
orientation not in ["Undefined", "TopLeft"] or profile != ""
|
||||
else
|
||||
_ ->
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue