Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-05

Does FPC 2.6.4 or later have an Ascii85 (Base85) implementation

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

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

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys
Graeme Geldenhuys wrote
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?

Scratch that, clearly my searching sucks! [case sensitivity] ;-) I found the ascii85.pp unit in fcl-base.

Regards,
Graeme

Reply by email