AI H3 Image — Image Brightness Tools
Summarize image brightness and tonal range to help compare image assets.
This tool works with local files and prints a JSON report. It does not upload files, connect to AI H3 Image, or generate media. Use the browser-based service separately at AI H3 Image.
Installation
Python 3.9 or later is required. Pillow is installed as a dependency.
pip install aih3image-tools
Usage
aih3image-tools image.png
The command prints JSON to standard output. If a file cannot be read, it prints an error and returns a nonzero exit code. Input files are not modified.
What the report means
Brightness is measured from a reduced grayscale copy on a 0–255 scale. It is informational and does not assess image quality or verify model requirements.
Example report
For a small example file, output can look like this; actual values vary with the input:
{"path": "image.png", "mean_brightness": 128.0, "brightness_stddev": 0.0, "darkest": 128, "brightest": 128, "scale": "0-255"}
Mean brightness describes average grayscale intensity; standard deviation describes tonal spread in the sampled image.
Use from Python
from aih3image_tools import analyze
report = analyze("image.png")
print(report)
The function reads the local file and returns a dictionary. File and parsing errors are raised to the caller.
Common questions
- Does the package generate media?
No. It analyzes local files; generation is a separate website workflow.
- Does it upload my files?
No. The tool performs its inspection locally. A website upload, if you choose to make one, is a separate action.
- Does the report guarantee website or model compatibility?
No. Check the website’s current requirements for the chosen workflow.
Workflow
Inspect your local media with the command above.
Review the report and decide which asset to use.
Open AI H3 Image and follow the available workflow on the website.
Available upload formats, settings and credit costs depend on the selected website workflow. This package does not validate those requirements.
License
MIT License.
Metadata
Release files for aih3image-tools 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 |
|---|---|---|---|---|
| aih3image_tools-0.1.0.tar.gz | 3.7 kB | Without provenance | Details for aih3image_tools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aih3image_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aih3image_tools-0.1.0-py3-none-any.whl |
Total release size: 7.8 kB
Release files / aih3image_tools-0.1.0.tar.gz
| Download URL | aih3image_tools-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8028e9f49f8d3b75f7d5e70fc41ecb2fd24dcf2c7cce267ee5caba0689fb63f
|
|
BLAKE2b-256 checksum How to use checksums |
7cf5dfea60c46ab83d45dbe73f20e0eef74e9d80cda653224b01d7d75c391d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / aih3image_tools-0.1.0-py3-none-any.whl
| Download URL | aih3image_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeb67a9a67fc765b309157da081b7d8fe04acac76bdc0704a8ababfddf869d01
|
|
BLAKE2b-256 checksum How to use checksums |
823178a2e5da73c70b0163c57d2077e0e3ff951fcb327a2512ea30be3fd075fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for aih3image-tools 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.