Sha256: 537814a6b7b5b3cf6c9addbb130be55454cb21b805f1d6bf840dac53ca62830e
Contents?: true
Size: 266 Bytes
Versions: 32
Compression:
Stored size: 266 Bytes
Contents
module CarrierWave module RMagick def quality(percentage) manipulate! do |img| img.write(current_path){ self.quality = percentage } unless img.quality == percentage img = yield(img) if block_given? img end end end end
Version data entries
32 entries across 31 versions & 1 rubygems