Sun, 16 Mar 2003 15:37:16 +0000
added README, INSTALL.
eric@136 | 1 | tumble: build a PDF file from image files |
eric@136 | 2 | Copyright 2003 Eric Smith <eric@brouhaha.com> |
eric@136 | 3 | $Id: README,v 1.1 2003/03/16 07:37:16 eric Exp $ |
eric@136 | 4 | |
eric@136 | 5 | Tumble is a utility to construct PDF files from one or more image |
eric@136 | 6 | files. Currently the only input image format supported is black & |
eric@136 | 7 | white TIFF files, which may be either single- or multi-page files. In |
eric@136 | 8 | the future additional file formats will be supported, including gray |
eric@136 | 9 | scale and color. Black and white images will be encoded in the PDF |
eric@136 | 10 | output using lossless Group 4 fax compression (ITU-T recommendation |
eric@136 | 11 | T.6). This provides a very good compression ratio for text and line |
eric@136 | 12 | art. |
eric@136 | 13 | |
eric@136 | 14 | The current version of Tumble will only work on little-endian systems, |
eric@136 | 15 | such as x86, VAX, and Alpha. The byte order dependencies will be fixed |
eric@136 | 16 | in a later release. |
eric@136 | 17 | |
eric@136 | 18 | The input and output files can be specified on the command line. |
eric@136 | 19 | Alternatively, a control file, typically with a ".tum" suffix, may be |
eric@136 | 20 | used which allows for more control over the files and options. |
eric@136 | 21 | |
eric@136 | 22 | The general command line syntax is: |
eric@136 | 23 | |
eric@136 | 24 | tumble [options] <input.tif>... -o <output.pdf> |
eric@136 | 25 | |
eric@136 | 26 | The options in this mode are: |
eric@136 | 27 | |
eric@136 | 28 | -v verbose |
eric@136 | 29 | -b <fmt> create bookmarks |
eric@136 | 30 | |
eric@136 | 31 | If the "-b" option is given, bookmarks will be created using the |
eric@136 | 32 | format string, which may contain arbitrary text and/or the following |
eric@136 | 33 | format specifiers: |
eric@136 | 34 | |
eric@136 | 35 | %F file name, sans suffix e.g., "foo.tif" will just appear as "foo" |
eric@136 | 36 | %p page number of input file, useful for multipage TIFF files |
eric@136 | 37 | |
eric@136 | 38 | There is currently no documentation for the control file syntax, as it |
eric@136 | 39 | is still being refined, and many of the options planned for use in |
eric@136 | 40 | control files are not yet fully implemented. Features that will be |
eric@136 | 41 | available in control files include: |
eric@136 | 42 | |
eric@136 | 43 | image resolution specification - useful for input files with |
eric@136 | 44 | unspecified resolution, or to override |
eric@136 | 45 | image rotation, in units of 90 degrees |
eric@136 | 46 | image cropping |
eric@136 | 47 | grouping to allow different specifications for individual pages |
eric@136 | 48 | or groups of consecutive pages (e.g., chapters) |
eric@136 | 49 | ability to control operations independently on even and odd pages |
eric@136 | 50 | (e.g., different rotation or cropping) |
eric@136 | 51 | more flexible bookmark control |
eric@136 | 52 | page labels, so that the PDF file can present the actual document |
eric@136 | 53 | page numbers such as xvii or 3-27 |
eric@136 | 54 | |
eric@136 | 55 | |
eric@136 | 56 | This program is free software; you can redistribute it and/or modify |
eric@136 | 57 | it under the terms of the GNU General Public License version 2 as |
eric@136 | 58 | published by the Free Software Foundation. Note that permission is |
eric@136 | 59 | not granted to redistribute this program under the terms of any other |
eric@136 | 60 | version of the General Public License. |
eric@136 | 61 | |
eric@136 | 62 | This program is distributed in the hope that it will be useful, but |
eric@136 | 63 | WITHOUT ANY WARRANTY; without even the implied warranty of |
eric@136 | 64 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
eric@136 | 65 | General Public License for more details. |
eric@136 | 66 | |
eric@136 | 67 | You should have received a copy of the GNU General Public License |
eric@136 | 68 | along with this program; if not, write to the Free Software |
eric@136 | 69 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA |