Sha256: afb9659dbe8112668d26de2c5e778b701889d7c435f00631467ed9b151dbab4b
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
module Piet module CarrierWaveExtension def optimize manipulate! do |img| Piet.optimize(img.path) img end end def pngquant manipulate! do |img| Piet.pngquant(current_path) img end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
piet-0.1.3 | lib/piet/carrierwave_extension.rb |
piet-0.1.2 | lib/piet/carrierwave_extension.rb |