Skip to main content

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.

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)

Source distribution for astabc 0.1.12
File Size Uploaded
astabc-0.1.12.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astabc 0.1.12
File Interpreter ABI Platform
astabc-0.1.12-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page