Skip to main content

A module for working with 24 bit bitmap files

Project description

Bitmap(width : int, height : int, color=(0, 0, 0)):

bmp[coord] bmp[coord] = (255, 0, 0)

for coord in bmp: print(coord)

if coord in bmp: bmp[coord] = (255, 0, 0)

bmp.get(coord):

for coord in keys(): pass

for coord, color in items(): pass

for color in values(): pass

bmp.save(path):

Bitmap.from_dict(d : dict) Bitmap.load(path) Bitmap.get_sample(name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plexi-0.0.1.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

plexi-0.0.1-py2.py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page