Ascii85
From Just Solve the File Format Problem
(Difference between revisions)
(Added some links) |
|||
Line 13: | Line 13: | ||
* [http://www.stillhq.com/extracted/ascii85.tgz ascii85.tgz] | * [http://www.stillhq.com/extracted/ascii85.tgz ascii85.tgz] | ||
* [ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/btoa-5.2.tar.gz btoa-5.2.tar.gz] | * [ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/btoa-5.2.tar.gz btoa-5.2.tar.gz] | ||
+ | * [http://sourceforge.net/projects/ascii85-tools/ ASCII85-Tools, Perl command-line utilities] - C version also available. | ||
+ | * [http://sourceforge.net/projects/mpperl-convert-ascii85-xs/ MPPerl::Convert::ASCII85::XS, a Perl module with time-critical code written in C] | ||
* Ascii85 libraries are readily available for most popular programming languages. | * Ascii85 libraries are readily available for most popular programming languages. | ||
Revision as of 11:57, 22 June 2015
Ascii85, or Base85, is a binary-to-text encoding. It is similar in concept to Base64 and Uuencode. It is often used in PDF and PostScript files, and rarely anywhere else. There are several varieties of it.Identification
In PostScript, the "<~
" token marks the beginning of an ASCII base-85 string literal, hence it is not part of the encoded data. The "~>
" EOD marker, on the other hand, should be regarded as being part of the encoded data, since it is added by the ASCII85Encode filter when it is closed.
There is also a uuencoding-like format, delimited by lines that begin with "xbtoa Begin
" and "xbtoa End
".
Software
- ascii85.tgz
- btoa-5.2.tar.gz
- ASCII85-Tools, Perl command-line utilities - C version also available.
- MPPerl::Convert::ASCII85::XS, a Perl module with time-critical code written in C
- Ascii85 libraries are readily available for most popular programming languages.
Links
- Wikipedia article
- Online ASCII85 encoder
- Online ASCII85 decoder
- RFC 1924: A Compact Representation of IPv6 Addresses