pass new config options to chunky_png canvas on image save

This commit is contained in:
Scott Davis 2011-06-12 13:37:20 -04:00
parent db74d8bdb3
commit dc504ecd8e

View File

@ -33,10 +33,11 @@ module Compass
if canvas.nil? if canvas.nil?
construct_sprite construct_sprite
end end
canvas.save(filename, :best_compression)
canvas.save(filename, Compass.configuration.chunky_png_options)
end end
end end
end end
end end
end end