Module: CarrierWave::ImageVoodoo::ClassMethods

Defined in:
lib/carrierwave_imagevoodoo.rb

Instance Method Summary collapse

Instance Method Details

#convert(format) ⇒ Object



10
11
12
# File 'lib/carrierwave_imagevoodoo.rb', line 10

def convert format
  process :convert => format
end

#resize_to_fill(width, height) ⇒ Object



22
23
24
# File 'lib/carrierwave_imagevoodoo.rb', line 22

def resize_to_fill width, height
  process :resize_to_fill => [width, height]
end

#resize_to_fit(width, height) ⇒ Object



18
19
20
# File 'lib/carrierwave_imagevoodoo.rb', line 18

def resize_to_fit width, height
  process :resize_to_fit => [width, height]
end

#resize_to_limit(width, height) ⇒ Object



14
15
16
# File 'lib/carrierwave_imagevoodoo.rb', line 14

def resize_to_limit width, height
  process :resize_to_limit => [width, height]
end