Sha256: 34a4e72ab20b98f5a44b1ec082e4e529c56259cb2f60e5be1f9b196cee0c06e8
Contents?: true
Size: 338 Bytes
Versions: 72
Compression:
Stored size: 338 Bytes
Contents
# frozen_string_literal: true module CarrierWave module MiniMagick # this method allow us to specify a quality for our image # e.g. <process quality: 60> def quality(percentage) manipulate! do |img| img.quality(percentage.to_s) img = yield(img) if block_given? img end end end end
Version data entries
72 entries across 72 versions & 1 rubygems