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: https://github.com/kmike/packbits/issues
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.