summaryrefslogtreecommitdiff
path: root/base/gxiscale.c
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2020-12-11 11:45:34 -0800
committerRay Johnston <ray.johnston@artifex.com>2020-12-14 15:54:51 -0800
commitd8dd6797ba52cd8af28839d1f5f2a4a5fca055d7 (patch)
treea2f50db392d2a462ae287e64cf15b193d97b2055 /base/gxiscale.c
parentc6166768c6e963b0fe28ccdb266629443e521381 (diff)
downloadghostpdl-d8dd6797ba52cd8af28839d1f5f2a4a5fca055d7.tar.gz
Fix -dAntidropuoutDownscaler for non-masked images.
The masked image case set the polarity needed in order for the ISpecialDownScale image interpolation to work, but the ordinary images did not set the 'pol' leaving it set to GX_CINFO_POLARITY_UNKNOWN.
Diffstat (limited to 'base/gxiscale.c')
-rw-r--r--base/gxiscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gxiscale.c b/base/gxiscale.c
index 3540fa1d8..b742bfa74 100644
--- a/base/gxiscale.c
+++ b/base/gxiscale.c
@@ -292,6 +292,7 @@ gs_image_class_0_interpolate(gx_image_enum * penum, irender_proc_t *render_fn)
if(!gx_device_uses_std_cmap_procs(penum->dev, penum->pgs)) {
use_icc = false;
}
+ pol = cs_polarity(pcs);
}
/*
* USE_CONSERVATIVE_INTERPOLATION_RULES is normally NOT defined since