Bitmap
A Python package to process raw camera data into 1-bit bitmap images.
Installation
pip install bitmap
Usage
from bitmap import BitmapProcessor
# Initialize with a raw camera file
processor = BitmapProcessor('image.nef')
# Process to 1-bit bitmap and save
processor.process_to_1bit('output.bmp')
Features
- Process raw camera data (NEF, CR2, ARW, etc.) into 1-bit bitmap images
- Automatic grayscale conversion with proper luminance weighting
- Floyd-Steinberg dithering for optimal 1-bit conversion
- Simple and intuitive API
Requirements
- Python >= 3.6
- rawpy >= 0.17.0
- Pillow >= 9.0.0
- numpy >= 1.21.0
Development
Install in Development Mode
pip install -e .
Run Tests
python -m unittest discover tests
Building and Distribution
Build the Package
python setup.py sdist bdist_wheel
Install Locally
pip install .
Upload to PyPI (after building)
pip install twine
twine upload dist/*
License
MIT License
Metadata
Release files for greko 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| greko-0.1.0.tar.gz | 3.4 kB | Without provenance | Details for greko-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| greko-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for greko-0.1.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / greko-0.1.0.tar.gz
| Download URL | greko-0.1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ce94978a18e20efe15ff2b05f467673ca25e1084c83b2670cb682a47ec60bbc
|
|
BLAKE2b-256 checksum How to use checksums |
5b1eafa04d0504b47b610238e15b5f0f591e43eda41192b633a8248c29542a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / greko-0.1.0-py3-none-any.whl
| Download URL | greko-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07fdf9611e1825781919edd545fcba6bfa2d95e9bd7a6019e2eb32bf2276241f
|
|
BLAKE2b-256 checksum How to use checksums |
f600fab564422f81bc0afe606dc06583074938b49c3b01e50cdf7c888391fa7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for greko 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.