SYNOPSIS
The progam dosepsbin analyses an EPS file that is not a plain ASCII PostScript file but given as DOS EPS binary file.
dosepsbin [options] <input file>
First it analyzes the input file, validates its header and summarizes the available sections. Depending on the given options, the sections are then written to files.
Options:
--eps-file <file> Write PS section to <file>. --wmf-file <file> Write WMF section to <file>. --tiff-file <file> Write TIFF section to <file>. --inputfile <file> The name of the input file. --verbose Verbose output. --quiet Only errors and warnings are printed. --help Brief help message. --man Full documentation. --version Print version identification.
The files for output must be different from the input file.
DESCRIPTION
DOS EPS Binary File Format
A Encapsulated PostScript (EPS) file can also given in a special binary format to support the inclusion of a thumbnail. The file format starts with a binary header that contains the positions of the possible sections:
The PS section must be present and either the WMF file or the TIFF file should be given.
OPTIONS
- --eps-file=<file>
- The PS section is written to <file>. The output file must be different from the input file.
- --wmf-file=<file>
- The WMF section is written to <file> if present. The output file must be different from the input file.
- --tiff-file=<file>
- The TIFF section is written to <file> if present. The output file must be different from the input file.
- --inputfile=<file>
- The input file can also be given directly on the command line. If the file does not exist, then the file with extension `.eps' is tried.
- --verbose
- Verbose messages.
- --quiet
- No messages are printed except for errors and warnings.
- --help
- Display help screen.
- --man
- Prints manual page.
- --version
- Print version identification and exit.
EXAMPLES
The following command extracts the PS section from file test.eps and stores the result in file test-ps.eps:
dosepsbin --eps-file test-ps.eps test.eps