Class: Alchemy::Dragonfly::Processors::AutoOrient

Inherits:
Object
  • Object
show all
Defined in:
lib/alchemy/dragonfly/processors/auto_orient.rb

Instance Method Summary collapse

Instance Method Details

#call(content) ⇒ Object



9
10
11
12
13
14
# File 'lib/alchemy/dragonfly/processors/auto_orient.rb', line 9

def call(content)
  ::Dragonfly::ImageMagick::Commands.convert(
    content,
    "-auto-orient"
  )
end