summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-04-22 18:08:10 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-04-22 23:38:50 +0200
commit1b3908faa01c7ef6197374a27b1a5861f0a383fe (patch)
tree559f84095d02587ef9547f39ef4c0d5077891c87 /main
parent8a203b909d59f8aa649492c23fa570afe3a61565 (diff)
Extend downscaling to png devices too (from tiffscaled).
Extract the code to do downscaling/min feature size from tiffscaled{,8,24} into a new gx_downscaler class. Make tiffscaled{,8,24} call this new class with no change in functionality. Make png devices call this new code. Only png16m and pnggray are actually affected by downscaling though. Add a new pngmonod device to do grayscale rendering internally and to downscale/min_feature_size/error diffuse to monochrome.
Diffstat (limited to 'main')
-rw-r--r--main/pcl6_gcc.mak2
-rw-r--r--main/pcl6_msvc.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/pcl6_gcc.mak b/main/pcl6_gcc.mak
index e6e93b7dd..19acca50c 100644
--- a/main/pcl6_gcc.mak
+++ b/main/pcl6_gcc.mak
@@ -223,7 +223,7 @@ DEVICES_DEVS?=$(DD)ljet4.dev $(DD)djet500.dev $(DD)cljet5pr.dev $(DD)cljet5c.dev
$(DD)pxlmono.dev $(DD)pxlcolor.dev\
$(DD)bmpmono.dev $(DD)bmp16m.dev $(DD)bmpsep8.dev \
$(DD)pbmraw.dev $(DD)pgmraw.dev $(DD)ppmraw.dev \
- $(DD)png16m.dev $(DD)pngmono.dev $(DD)jpeg.dev\
+ $(DD)png16m.dev $(DD)pngmono.dev $(DD)pngmonod.dev $(DD)jpeg.dev\
$(DD)wtscmyk.dev $(DD)wtsimdi.dev\
$(DD)romfs$(COMPILE_INITS).dev
diff --git a/main/pcl6_msvc.mak b/main/pcl6_msvc.mak
index a2eaa3e7c..7b424d9dd 100644
--- a/main/pcl6_msvc.mak
+++ b/main/pcl6_msvc.mak
@@ -391,7 +391,7 @@ DEVICE_DEVS=$(DD)\display.dev\
$(DD)\tifflzw.dev $(DD)\tiffpack.dev $(DD)\tiffgray.dev $(DD)\tiffscaled.dev \
$(DD)\tiff12nc.dev $(DD)\tiff24nc.dev\
$(DD)\tiffscaled.dev $(DD)\tiffscaled8.dev $(DD)\tiffscaled24.dev\
- $(DD)\png16m.dev $(DD)\pngmono.dev $(DD)\jpeg.dev \
+ $(DD)\png16m.dev $(DD)\pngmono.dev $(DD)\pngmonod.dev $(DD)\jpeg.dev \
$(DD)\pdfwrite.dev $(DD)\pswrite.dev $(DD)\ps2write.dev \
$(DD)\wtscmyk.dev $(DD)\wtsimdi.dev
!endif