Generate bitmap images
Project description
Python Bitmap Generator
This program was created with the intent of learning how to generate bitmaps from scratch. Please feel free to open a pull-request, issue, or fork!
This tool was built using Python version 3.11.2. I have not tested this using any other versions, although it likely works with substantially older versions of Python3.
INSTALLATION
run pip install python-bmp-generator
USAGE
CLI
run python-bmp-generator -h for help.
example: python-bmp-generator -r 0 -g 255 -b 0 -o green-image.bmp
Python Module
There is really only one function at this time. See "create_bmp.py" for details.
include like: from python_bmp_generator import create_bmp
example:
from python_bmp_generator import create_bmp
create_bmp(file_name="output.bmp", width=100, height=100, red=255, green=0, blue=255)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-bmp-generator-0.1.0.tar.gz.
File metadata
- Download URL: python-bmp-generator-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec17f5b9191c197a7387be19537b47b2ed73c4f5786b0d3bd4f72ba430af4890
|
|
| MD5 |
67598ea50b6596cc209969462f188a3d
|
|
| BLAKE2b-256 |
67b0060cd7711746f9c974ea7b5e5eeff4b9a5563635c8c5bc7a5d8d5e18e5b6
|
File details
Details for the file python_bmp_generator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: python_bmp_generator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e161613dc33df844bcc52c8ff35d2fdc2eedd47ab0da9b2399abcd7ef7dfca
|
|
| MD5 |
bc82a306f9a235dbc1ab132f274403b2
|
|
| BLAKE2b-256 |
027fddabcfd8aa45bb27918f04786947debfc1b5fadb0a0c184bf0b3b33b6925
|