[PostScript] [Usage] [Installation] [at CERN] [at SLAC] [Versions] [Copyright] [Download]
Gifconv was written by Tim Adye <T.J.Adye@rl.ac.uk>, modelled closely on, and using routines originally from, xwpick 2.21 by Evgeni Chernyaev <chernaev@mx.ihep.su> (xwpick used to be called xpick). Some of this code was also used in the xv-psnewstyle patch. I have modified the xwpick C and Postscript code extensively, so any bugs therein are almost certainly my fault.
Gifconv also uses GIF reading routines based on code by David Koblas.
Additional compression (compared to, eg., xv) is obtained
by using an 85-letter character encoding (!
to u
),
rather than hexadecimal. %
characters in the first column
are indented by one character to prevent programs that strip Postscript
comments (eg. dvips without the -K0 option) from removing
these lines.
PostScipt files produced by gifconv automatically understand on what kind of printer they are being printed. On Level 2 PostScript printers the native LZW/ASCII85 decoding filters will be invoked, while on Level 1 printers inline decompression code is executed. Rendering time on Level 2 printers is pretty fast. On Level 1 printers the image rendering is, of course, much slower, but still usually faster than for Run Length Encoded PostScript images.
Standard output is used if only one name is specified, or the outfile is - . If multiple input GIF files are given (3 or more parameters specified), then the output postscript contains each on a separate page.gifconv [options...] [<gif-infiles> [<outfile>]]
Possible options are:
BoundingBox
starting at (0,0)
. It is
intended for insertion into other documents (eg. LaTeX, processed with
dvips).
For this particular image, the resultant Encapsulated Postscript file is 2.8 times smaller than that produced by xv (with xv'sgifconv $BFROOT/doc/Images/bfactory-detector.gif bfactory-detector.eps
compress
option).
scan01.gif
, scan02.gif
, and scan03.gif
(and
no others in the current directory)
creates a single file,gifconv -page -norotate scan*.gif scan.ps
scan.ps
, containing
each image on a separate, numbered, page.
-norotate is specified to prevent
the images being rotated to fit each page.
Download the gifconv source code distribution and unpack it with
Then build gifconvgzip -dc gifconv-2.21b.tar.gz | tar xf - cd gifconv-2.21b
Ifxmkmf # (or use imake directly, since gifconv doesn't require X11 libs) make
xmkmf
/imake
aren't available,
copy Makefile.std
to Makefile
,
check the options, and just run
The distribution still contains xwpick, which can be built as described inmake gifconv
0INSTALL
. Makefile.std
builds both xwpick and gifconv,
while Imakefile
makes just gifconv.
cd xwpick-2.21 patch < gifconv-2.21b.patch
/afs/cern.ch/user/a/adye/bin/gifconv
To select an architecture other than your current one, use .hp_ux102/bin
, .alpha_dux40/bin
,
or .rs_aix41/bin
in place of bin
in the path.
/afs/slac.stanford.edu/u/ec/adye/bin.arch/gifconv
To select an architecture other than your current one, use bin.OSF1
, bin.aix6000
, bin.hpux10
,
or bin.sun5
in place of bin.arch
in the path.
const
-correctness.
The following copyright restrictions and disclaimers apply also to the gifconv-specific code.
Xwpick is Copyright 1993, 1994 by Evgeni ChernyaevPermission to use, copy, modify, and distribute this software and its documentation for non-commercial purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation.
This software is provided "as is" without express or implied warranty.
The xwpick author may be contacted via:
- Mail:
- Evgeni Chernyaev
Institute for High Energy Physics
142284 Protvino, Moscow region
Russia
- E-mail:
- chernaev@mx.ihep.su
gifread is Copyright 1990, David Koblas. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty.