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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-09-02 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,055 All time: 3,453 This week: 364Up
Version License PHP version Categories
ascii85 1.0.0BSD License4.0Algorithms, Text processing
Description Author

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
Name: Sam Shull <contact>
Classes: 9 packages by
Country: United States United States
Age: 43
All time rank: 34739 in United States United States
Week rank: 170 Up14 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
Plain text file example Example An example of ASCII85 encoding

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