py-farbfeld

Implementation of the Suckelss Farbfeld image format in pure Python


License
WTFPL
Install
pip install py-farbfeld==1.1.post2

Documentation

PyPI

A Python module for encoding and decoding Farbeld image format. It encodes or decodes pixels of 16-bit per pixel in the big-endian byteorder in the RGBA pixel-format. This module provides a simple but elegant API.

FAQ

Can it encode or decode compressed image data?
Data compression on the image is not specified in the specification so as this API. If a compression is applied externally, it must be decoded before this library can parse it.

The code is platform independent and requires no external dependencies. Python >=3.5 is required for runtime.