Module: CarrierWave::ImageScience::ClassMethods

Defined in:
lib/carrierwave/processing/image_science.rb

Instance Method Summary collapse

Instance Method Details

#resize_to_fill(width, height) ⇒ Object



18
19
20
# File 'lib/carrierwave/processing/image_science.rb', line 18

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

#resize_to_fit(width, height) ⇒ Object



14
15
16
# File 'lib/carrierwave/processing/image_science.rb', line 14

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

#resize_to_limit(width, height) ⇒ Object



10
11
12
# File 'lib/carrierwave/processing/image_science.rb', line 10

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