astabc
The astabc module is a Python module that provides functions for automatic brightness and contrast optimization of images.
Installation
You can install the astabc module using pip:
pip install astabc
Usage
import astabc
# Read an image from a file
image = astabc._read_image('filename.jpg')
# Perform automatic brightness and contrast optimization
result, alpha, beta = astabc._automatic_brightness_and_contrast(image)
# Correct the brightness and contrast of an image
astabc.correct('filename.jpg', abc=25, output_filename='output.jpg')
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for astabc 0.1.12
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 |
|---|---|---|---|---|
| astabc-0.1.12.tar.gz | 4.2 kB | Without provenance | Details for astabc-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astabc-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for astabc-0.1.12-py3-none-any.whl |
Total release size: 8.5 kB
Release files / astabc-0.1.12.tar.gz
| Download URL | astabc-0.1.12.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d318900178950e352dd03cb3d28281336b91cf7dc468ccdbbb42e313d2710f63
|
|
BLAKE2b-256 checksum How to use checksums |
e9db092f55139ac0a6fed69b455a8114de37bd85d335fc3262650fc753ae4e67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / astabc-0.1.12-py3-none-any.whl
| Download URL | astabc-0.1.12-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
816f6738538ce933af2bf9e017eb679d7e4b586c573b8ae2ecb4e2e582068bb5
|
|
BLAKE2b-256 checksum How to use checksums |
d60c7eb4d1c2b10d1c784e58a6168c1539f482c9a211ef7f6e1fbe2d498175a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Security for astabc 0.1.12
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.