Auto-orient photos
This commit is contained in:
@@ -30,6 +30,7 @@ get "/*" do |path|
|
||||
convert.background("white")
|
||||
convert.layers("flatten")
|
||||
convert.strip
|
||||
convert.auto_orient
|
||||
|
||||
if geometry
|
||||
if geometry.match?(/^\d+x\d+$/)
|
||||
|
||||
Reference in New Issue
Block a user