ascii85enc - encode file in ASCII85 encoding
ascii85enc [-ps | -p prefix] [file]
ascii85enc reads input from file or from standard input (if no file given) and emits its Ascii85 encoding to standard output. The output is by default prefixed with <~
. The end of the encoding is signaled by ~>
, as it is demanded by the standard.
- -p prefix
Use prefix instead of the default
<~
as a prefix.- -ps
Use as a prefix the following PostScript operators:
currentfile /ASCII85Decode filter cvx exec
This sequence instructs a PostScript interpreter to decode the following stream and to execute as a PostScript program. This assumes that the input, and hence the decoded output, contains PostScript code.
The exit code is zero for success and positive in the case of errors. Error messages are emitted to standard error.
Adobe _PostScript LANGUAGE REFERENCE third edition_. For the details of the format, see sections _ASCII Base-85 Strings_ and _ASCII85Encode Filter_.
Christian Lindig <lindig@gmail.com>. The source code is available from http://github.com/lindig/ascii85.
This program is licensed under the BSD-2 Open Source License.