From dc504ecd8ee3dd5008c2aefb23262da2b2875ce7 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Sun, 12 Jun 2011 13:37:20 -0400 Subject: [PATCH] pass new config options to chunky_png canvas on image save --- .../sass_extensions/sprites/engines/chunky_png_engine.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb b/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb index c26caa11..99bca823 100644 --- a/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb +++ b/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb @@ -33,10 +33,11 @@ module Compass if canvas.nil? construct_sprite end - canvas.save(filename, :best_compression) + + canvas.save(filename, Compass.configuration.chunky_png_options) end end end end -end \ No newline at end of file +end \ No newline at end of file