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
Release history Release notifications | RSS feed
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 details)
Built Distribution
plexi-0.0.1-py2.py3-none-any.whl
(13.7 kB
view details)
File details
Details for the file plexi-0.0.1.tar.gz
.
File metadata
- Download URL: plexi-0.0.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26664f5dab2679a93ea61e0f075f76650e0d6be0856ed25a14e9bdf3cbf1d9b |
|
MD5 | 8db5df158bb6e8f0b0e9920d9a595e2a |
|
BLAKE2b-256 | e92cb3c9defbd8e391998b33495e7d0385406d3867a284691d48dc20e2435352 |
File details
Details for the file plexi-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: plexi-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0264cd60e05b1f6b28f6f402b85270e2c30bf4bdf5240ca1310bdef6936d1ab3 |
|
MD5 | 87255daa790ea657cd0eee0af39001c9 |
|
BLAKE2b-256 | d800239e2ff8ad2578bb5a5e07927c712b90dd468ac5a4bdd29ab6d0923adc44 |