# File lib/asset_compiler/rmagick_transformation_script.rb, line 96 def size_to_fit dimensions @image.change_geometry dimensions do |w,h,img| img.density = '72x72' img.resize! w, h # radius, sigma, blend, threshold unsharp_mask 0.5, 1.0, 0.5, 0.25 end end