From dc5924320ec6fea16baf14ca9e012e49965055d4 Mon Sep 17 00:00:00 2001 From: anthony Date: Tue, 12 Oct 2010 02:59:44 +0000 Subject: [PATCH] filter:verbose reporting of B,C value for Cubic filters only --- magick/resize.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/magick/resize.c b/magick/resize.c index 2032ee729..c476573ce 100644 --- a/magick/resize.c +++ b/magick/resize.c @@ -1062,8 +1062,9 @@ MagickExport ResizeFilter *AcquireResizeFilter(const Image *image, (double) sigma); (void) fprintf(stdout,"# practical_support = %.*g\n",GetMagickPrecision(), (double) support); - (void) fprintf(stdout,"# B,C = %.*g,%.*g\n",GetMagickPrecision(), - (double) B,GetMagickPrecision(),(double) C); + if ( filter_type == CubicFilter || window_type == CubicFilter ) + (void) fprintf(stdout,"# B,C = %.*g,%.*g\n",GetMagickPrecision(), + (double) B,GetMagickPrecision(),(double) C); (void) fprintf(stdout,"\n"); /* Output values of resulting filter graph -- for graphing -- 2.50.1