[gs-cvs] rev 7715 - trunk/gs/src
stefan at ghostscript.com
stefan at ghostscript.com
Mon Feb 19 12:22:08 PST 2007
Author: stefan
Date: 2007-02-19 12:22:08 -0800 (Mon, 19 Feb 2007)
New Revision: 7715
Modified:
trunk/gs/src/gxclimag.c
Log:
Fix for banding of some images not matching non-banding output.
Added check for an invariant that the translation matches in the
two matrixes used in rendering. In this case the non-high level image
path is taken. A better solution would be to a single matrix, as this will
increase the display list size for some files.
Fixes banding differences in:
035-01.ps
148-11.ps
148.16.ps
1_2001.pdf
455690.pdf
Bug687832.pdf
Bug687840.pdf
a.pdf
adesso4.pdf
bc_02a01_cal.pdf
dave.pdf
file2.pdf
foo.pdf
john_clippedimage.pdf
messenger.pdf
messenger16.pdf
ngnews1.pdf
rotate180.pdf
rotate270.pdf
rotate90.pdf
pcl5ccet/15-03.BIN + ufst
Modified: trunk/gs/src/gxclimag.c
===================================================================
--- trunk/gs/src/gxclimag.c 2007-02-19 06:16:13 UTC (rev 7714)
+++ trunk/gs/src/gxclimag.c 2007-02-19 20:22:08 UTC (rev 7715)
@@ -375,6 +375,8 @@
varying_depths ||
(code = gs_matrix_invert(&pim->ImageMatrix, &mat)) < 0 ||
(code = gs_matrix_multiply(&mat, &ctm_only(pis), &mat)) < 0 ||
+ /****** CAN'T HANDLE SOME TRANSFORMS ******/
+ (mat.tx != cdev->imager_state.ctm.tx) ||
!(cdev->disable_mask & clist_disable_nonrect_hl_image ?
(is_xxyy(&mat) || is_xyyx(&mat)) :
image_matrix_ok_to_band(&mat))
More information about the gs-cvs
mailing list