packbits /

Filename Size Date modified Message
183 B
90 B
51 B
1.1 KB
14 B
792 B
1.3 KB
2.0 KB
95 B

PackBits encoder/decoder

This module implements a PackBits encoder/decoder for Python 2.x and 3.x.

PackBits encoding is used in PSD and TIFF files.


pip install packbits


Import packbits module; then use packbits.encode(data) and packbits.decode(data) functions.


Development happens at github and bitbucket:

The main issue tracker is at github:

Feel free to submit ideas, bugs, pull requests (git or hg) or regular patches.

In order to run tests, install tox and type


from the source checkout.

The license is MIT.