Ascii85 Data Encodings for Python

Ascii85 Data Encodings for Python is an extension written in C, that provides Ascii85 data encodings, also known as Base85.
Download

Ascii85 Data Encodings for Python Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Alexandre Fiori
  • Publisher web site:

Ascii85 Data Encodings for Python Tags


Ascii85 Data Encodings for Python Description

Ascii85 Data Encodings for Python is an extension written in C, that provides Ascii85 data encodings, also known as Base85. Ascii85 Data Encodings for Python (pyascii85) is an extension written in C, that provides Ascii85 data encodings, also known as Base85.It can encode and decode files or text buffers, and is useful for encoding data to be used within PostScript and PDF files, such as raw RGB images.USAGE encoding: encode(input, output, begin_tag=True, end_tag=True) b85encode(buffer, begin_tag=True, end_tag=True) decoding: decode(input, output) b85decode(buffer)EXAMPLES (from buffer) >>> import ascii85 >>> v = ascii85.b85encode('sample test') >>> ascii85.b85decode(v) 'sample test' >>> v 'n' (from file) >>> ascii85.encode(file('/etc/motd'), sys.stdout) Requirements: · Python


Ascii85 Data Encodings for Python Related Software