PHP Classes

ASCII85: Encode and decode data using the ASCII85 algorithm

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,088 All time: 3,433 This week: 560Up
Version License PHP version Categories
ascii85 1.0.0BSD License4.0Algorithms, Text processing


This class can be used to encode and decode data using the ASCII85 algorithm.

It can take a string of data and encode it with the ASCII85 algorithm. It can also do the opposite, i.e. extract the original data from an encoded string using the same algorithm.

Innovation Award
PHP Programming Innovation award nominee
August 2007
Number 10
ASCII 85 is an algorithm that can encode binary data using only ASCII characters.

Data encoded with ASCII 85 uses a wider range of characters than similar algorithms like base 64. Therefore it provides in a more efficient encoding of binary data. That is why it is used to encode binary data inside data formats like PDF.

This class provides a pure PHP implementation of ASCII 85, thus making it possible to encode and decode PDF files that use this algorithm, without needing special PHP extensions.

Manuel Lemos
Picture of Sam S
Name: Sam S <contact>
Classes: 9 packages by
Country: United States United States
Age: 49
All time rank: 34440 in United States United States
Week rank: 286 Up33 in United States United States Up
Innovation award
Innovation award
Nominee: 8x

  Files folder image Files  
File Role Description
Accessible without login Plain text file ascii85.php Class the base class
Accessible without login Plain text file example Example An example of ASCII85 encoding

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,433
This week:560Up