Login   Register  
PHP Classes
elePHPant
Icontem

ASCII85: Encode and decode data using the ASCII85 algorithm

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 980 All time: 3,414 This week: 1,393Up
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: 38
All time rank: 36940 in United States United States
Week rank: 306 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
Plain text file example Example An example of ASCII85 encoding

 Version Control Unique User Downloads Download Rankings  
 0%Total:980All time:3,414
 This week:0This week:1,393Up