2001.03.14 21:44 "Changes to tiff2ps.c", by Bruce A. Mallett
I've made a couple of changes to the tiff2ps tool for my own local use and was wondering:
- if the changes were of general interest?
- if so, how to go about getting the changes in the general distribution?
The changes are minor as follows:
- Added "-i #" switch to enable/disable pixel interpolation
- Added "-m" switch to force use of imagemask operator instead of image.
The imagemask operator is something that I need to enable transparency for one bit deep images (my changes revert back to using "image" if the image is other than one bit deep).
This is what tiff2ps usage info looks like here:
usage: tiff2ps [options] input.tif ...
where options are:
-1 generate PostScript Level I (default)
-2 generate PostScript Level II
-8 disable use of ASCII85 encoding with PostScript Level II
-d # convert directory number #
-D enable duplex printing (two pages per sheet of paper)
-e generate Encapsulated PostScript (EPS)
-h # assume printed page height is # inches (default 11)
-i # enable/disable (Nz/0) pixel interpolation (default: enable)
-m use "imagemask" operator instead of "image"
-o # convert directory at file offset #
-O file write PostScript to file instead of standard output
-a convert all directories in file (default is first)
-p generate regular PostScript
-s generate PostScript for a single image
-T print pages for top edge binding
-w # assume printed page width is # inches (default 8.5)
-z enable printing in the deadzone (only for PostScript Level II)