PHP Classes
elePHPant
Icontem

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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,030 All time: 3,438 This week: 871Up
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
Picture of Sam Shull
Name: Sam Shull <contact>
Classes: 9 packages by
Country: United States United States
Age: 40
All time rank: 35241 in United States United States
Week rank: 102 Up9 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  
 0%
Total:1,030
This week:0
All time:3,438
This week:871Up