Hi, Ascii85 - also known as Base85. It works similar to Base64, but where Base64 increases the original data by 33% (four ASCII characters to represent 3 bytes of data), Base85 only increases the original data by 20% (five ASCII characters to represent 4 bytes of data).
https://en.wikipedia.org/wiki/Ascii85 If FCL doesn't include an implementation (my initial search of FPC 2.6.4 shows NO), does anybody know of an Object Pascal implementation? Base85 is used in file formats like *.PS and *.PDF files. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal