pybmp-dannybritto96

Python package to read a BMP file's header and pixel array in binary.


License
MIT
Install
pip install pybmp-dannybritto96==0.1.1

Documentation

Py BMP

Python package to read a BMP file's header and pixel array in binary.

Install Instructions

pip install pybmp-dannybritto96

Usage

from pybmp import BMP

img = BMP(filename="sample.bmp")

print(img.SHAPE)
print(img.PIXELARRAY)
print(img.RAWIMGSIZE)

Refer: https://en.wikipedia.org/wiki/BMP_file_format