Class: Dragonfly::ImageMagick::Processor
- Inherits:
-
Object
- Object
- Dragonfly::ImageMagick::Processor
- Defined in:
- lib/moxify/dragonfly_quality_hook.rb
Instance Method Summary collapse
Instance Method Details
#convert(temp_object, args = '', format = nil) ⇒ Object
10 11 12 13 |
# File 'lib/moxify/dragonfly_quality_hook.rb', line 10 def convert(temp_object, args='', format=nil) args = "#{args} -quality 100" unless args.blank? format ? [super, {:format => format.to_sym}] : super end |