]> granicus.if.org Git - imagemagick/commitdiff
Lanczos2Sharp blur tweaked
authornicolas <nicolas@git.imagemagick.org>
Sun, 14 Nov 2010 17:54:53 +0000 (17:54 +0000)
committernicolas <nicolas@git.imagemagick.org>
Sun, 14 Nov 2010 17:54:53 +0000 (17:54 +0000)
ChangeLog
magick/resize.c

index aaa4e8f8eb6b6a6e5a543a0527cc7f7273349e16..8c8f51cf7c4f5013b2f32bf302c680ab15078511 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
+2010-11-14  6.6.5-9 Nicolas robidoux <nicolas.robidoux@gmail...>
+  * Lanczos2Sharp blur tweaked. New blur = 0.9549963639785485.
+
 2010-11-13  6.6.5-9 Nicolas robidoux <nicolas.robidoux@gmail...>
   * LanczosSharp blur tweaked to minimize worst case deviation from "perfect
     preservation of images which only vary horizontally (or vertically)" under
-    no-op.
+    no-op. New blur = 0.9812505644269356.
 
 2010-10-29  6.6.5-9 Glenn Randers-Pehrson <glennrp@image...>
   * Revised PNG encoder to avoid emitting some spurious warnings.
index 4451caefb8cf3f3e1c9dff94edc1d0f355359c7d..b3218fa868a695d9959c58937bd452d3487b6cb0 100644 (file)
@@ -550,10 +550,9 @@ static MagickRealType Welsh(const MagickRealType x,
 %
 %  The Lanczos2 and Lanczos2Sharp filters are 2-lobe versions of the
 %  Lanczos filters.  The 'sharp' version uses a blur factor of
-%  0.958027803631219, again chosen because the resulting EWA filter
+%  0.9549963639785485, again chosen because the resulting EWA filter
 %  comes as close as possible to satisfying the above
-%  condition. (Comment from Nicolas: value may change following the
-%  use of a better optimization technique.)
+%  condition.
 %
 %  Robidoux is another filter tuned for EWA. It is the Keys cubic
 %  filter defined by B=(228 - 108 sqrt(2))/199. Robidoux satisfies the
@@ -923,7 +922,7 @@ MagickExport ResizeFilter *AcquireResizeFilter(const Image *image,
       resize_filter->blur *= 0.9812505644269356;
       break;
     case Lanczos2SharpFilter:
-      resize_filter->blur *= 0.958027803631219;
+      resize_filter->blur *= 0.9549963639785485;
       break;
     default:
       break;