Module: CarrierWave::Vips::ClassMethods
- Defined in:
- lib/carrierwave/vips.rb
Instance Method Summary collapse
- #auto_orient ⇒ Object
- #convert(extension) ⇒ Object
- #quality(percent) ⇒ Object
- #resize_to_fill(width, height) ⇒ Object
- #resize_to_fit(width, height) ⇒ Object
- #resize_to_limit(width, height) ⇒ Object
- #strip ⇒ Object
Instance Method Details
#auto_orient ⇒ Object
47 48 49 |
# File 'lib/carrierwave/vips.rb', line 47 def auto_orient process :auto_orient end |
#convert(extension) ⇒ Object
39 40 41 |
# File 'lib/carrierwave/vips.rb', line 39 def convert(extension) process :convert => extension end |
#quality(percent) ⇒ Object
35 36 37 |
# File 'lib/carrierwave/vips.rb', line 35 def quality(percent) process :quality => percent end |
#resize_to_fill(width, height) ⇒ Object
31 32 33 |
# File 'lib/carrierwave/vips.rb', line 31 def resize_to_fill(width, height) process :resize_to_fill => [width, height] end |
#resize_to_fit(width, height) ⇒ Object
27 28 29 |
# File 'lib/carrierwave/vips.rb', line 27 def resize_to_fit(width, height) process :resize_to_fit => [width, height] end |
#resize_to_limit(width, height) ⇒ Object
23 24 25 |
# File 'lib/carrierwave/vips.rb', line 23 def resize_to_limit(width, height) process :resize_to_limit => [width, height] end |
#strip ⇒ Object
43 44 45 |
# File 'lib/carrierwave/vips.rb', line 43 def strip process :strip end |