From 725b8b82ace3d76ad61f3dbde8e5f95c689472be Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 27 Sep 2011 13:38:25 +0200 Subject: Include "PR dud" images from scale factor histograms in scaling report --- src/scaling-report.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scaling-report.c b/src/scaling-report.c index 330b3af2..785c761f 100644 --- a/src/scaling-report.c +++ b/src/scaling-report.c @@ -403,6 +403,7 @@ static void scale_factor_histogram(cairo_t *cr, const struct image *images, osf_max = 0.0; for ( i=0; i osf_max ) osf_max = osf; } osf_max = ceil(osf_max+osf_max/10000.0); @@ -425,6 +426,8 @@ static void scale_factor_histogram(cairo_t *cr, const struct image *images, double osf = images[i].osf; + if ( images[i].pr_dud ) continue; + for ( b=0; b= osf_low[b]) && (osf < osf_high[b]) ) -- cgit v1.2.3