Sujet : Re: ASCII to ASCII compression.
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 17. Jun 2024, 05:45:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4of0g$g30n$2@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.158 (Avdiivka; )
On Thu, 6 Jun 2024 20:02:55 +0300, Michael S wrote:
Or, if we want to make a job just a little bit more interesting, we can
convert to base94, producing ~9% smaller size than base94 :-)
You mean smaller than Base64?
I just spent some hours yesterday implementing the ASCII85 encoding in C
code. This was something Adobe added to PostScript level 2; not sure if
anybody else used it.
By using only 85 instead of 94 printable characters, it could reserve some
for special uses. For example, four bytes of zero are represented by a
single “z” character. Also “~” is not used because it is part of the
PostScript string delimiter for strings in ASCII85 format.