summaryrefslogtreecommitdiff
path: root/support/pstools/tif2eps/readme.eng
blob: cc8e5ebd5be5723f5933d1dc81c077c194ac636d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
TIF2EPS  ver. 0.79, 1 Mar 2005.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License. See:
http://www.fsf.org/licenses/gpl.txt

AUTHORS: Bogu\l{}aw Jackowski, Piotr Pianowski, Piotr Strzelczyk
Mail:    BOP s.c., ul. Bora-Komorowskiego 24, 80-377 Gda\'nsk, Poland
Email:   P.Strzelczyk@GUST.org.pl, bop@bop.com.pl


TIF2EPS is a PostScript program for the conversion of TIFF files (ver. 6.0)
to EPS ones. Compression (LZW, CCITT Fax, RLE, Flate, DCT) and ASCII85
encoding is available. The package may be used for generating colour-
separated EPSes, `EPS thumbnails,' and, moreover, little header EPSes,
containing only a pointer to a source TIFF file. Employing Ghostscript
guarantees portability and efficient processing.

Batch files are provided: tif2eps.bat (for DOS/Windows) and tif2eps
(for Unix/Linux). They should be copied to the directory in $PATH.
The main `engine', tif2eps.ps should be copied to the directory with
Ghostscript libraries, e.g.: /usr/local/share/ghostscript/<version>/lib/
or C:\gstools\gs<version>\lib\

Usage details:
  gs [-dNODISPLAY] [-q] -- tif2eps.ps TIFF_name [EPS_name] [options]

Options:
  -f# -- output filtering, #=[compression][encoding], where
         currently implemented compressions:
           f - Flate, l - LZW, p - LZW with predictor, r - RLE,
           3 - CCITTFax group 3, 4 - CCITTFax group 4 (two-dimensional),
           j - DCT (JPEG standard), n - none, or empty (default is n)
         currently implemented encodings:
           8 - ASCII85, h - HEX, or empty (default is 8)
  -d# -- override resolution (in dpi, X_RESxY_RES form allowed)
  -o# -- overwrite output file: 0 - not (default), 1 - yes, 2 - if older
  -l# -- Postscript Level of output EPS: 1 - Level 1, 2 - Level 2
  -m# -- operator used for monochrome bitmaps: 0 - image (default),
         1 - imagemask, 2 - inversed imagemask
  -p# -- convert # image (page) of multi-page TIFF (0 - first page)
  -r# -- reduction (scaling) factor, 0<#<=1
  -s# -- separation, #=1, 2, 3, 4, or c, m, y, k
  -v# -- verbose level: 0 - off , 1 - basic (default), 2 - elaborate
  -b* -- use exact (non-integer) BoundingBox comment format; otherwise
         HiResBoundingBox is additionally written out (default is +)
  -e* -- recover from errors (special RLE filter, CCITTFax recover)
  -h* -- write `header' EPS (which reads and interpretes TIFF)
  -i* -- set `/Interpolate' entry to true in EPS image
  where asterisk denotes a switch:
    on:  + or 1 (or empty)
    off: - or 0 (default if not specified otherwise)