From 4b611f87e9f1048342926af6408dd165b3c30021 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Tue, 27 May 2014 15:38:11 +1000 Subject: [PATCH] use bicubic so we support earlier image magicks like the one in docker TODO upgrade docker base image to latest image magick --- app/models/optimized_image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/optimized_image.rb b/app/models/optimized_image.rb index 592b5e1ada8..7c8c2c44c12 100644 --- a/app/models/optimized_image.rb +++ b/app/models/optimized_image.rb @@ -74,7 +74,7 @@ class OptimizedImage < ActiveRecord::Base #{from} -resize #{width}x#{height} -background transparent - -interpolate Catrom + -interpolate bicubic -unsharp 2x0.5+0.7+0 -quality 98 #{to}