lib/carrierwave-processing/rmagick.rb
def quality(percentage)
        manipulate! do |img|
          img.write(current_path){ self.quality = percentage }
          img = yield(img) if block_given?
          img
        end
      end
# Reduces the quality of the image to the percentage given
#
#   process :quality => 90
#
Reduces the quality of the image to the percentage given
process :quality => 90
Reduces the quality of the image to the percentage given process : quality = > 90
def quality(percentage)
        manipulate! do |img|
          img.write(current_path){ self.quality = percentage }
          img = yield(img) if block_given?
          img
        end
      end
def quality ( percentage ) manipulate! do | img | img . write ( current_path ) { self . quality = percentage } img = yield ( img ) if block_given? img end end
Reduces the quality of the image to the percentage given
process :quality => 90
Reduces the quality of the image to the percentage given process : quality = > 90
percentage