class Dragonfly::ImageMagick::Processors::Encode

Public Instance Methods

call(content, format, args="") click to toggle source
# File lib/dragonfly/image_magick/processors/encode.rb, line 10
def call(content, format, args="")
  content.process!(:convert, args, 'format' => format)
end
update_url(attrs, format, args="") click to toggle source
# File lib/dragonfly/image_magick/processors/encode.rb, line 6
def update_url(attrs, format, args="")
  attrs.ext = format.to_s
end