PicVane — Image Palette Tools
Show a compact palette of common image colors for a photo editing workflow.
This tool works with local files and prints a JSON report. It does not upload files, connect to PicVane, or generate media. Use the browser-based service separately at PicVane.
Installation
Python 3.9 or later is required. Pillow is installed as a dependency.
pip install picvane-image-tools
Usage
picvane-image-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
The palette is approximate: the image is reduced to at most 256 pixels per side and RGB channels are grouped in steps of 16. Transparency is not separately reported.
Example report
For a small example file, output can look like this; actual values vary with the input:
{"path": "image.png", "sample_pixels": 200, "colors": [{"hex": "#f00000", "fraction": 1.0}]}
A color fraction is the share of the reduced sample in that color bin. Colors are approximations rather than an exact palette.
Use from Python
from picvane_image_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 PicVane 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 picvane-image-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 |
|---|---|---|---|---|
| picvane_image_tools-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for picvane_image_tools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| picvane_image_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for picvane_image_tools-0.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / picvane_image_tools-0.1.0.tar.gz
| Download URL | picvane_image_tools-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6057b61d3a00f89bcfcf0456d54928ae03b0e9f5e07c011dd0048ba7312910e4
|
|
BLAKE2b-256 checksum How to use checksums |
ea69f20a1de25914859f59ea62fc213a0bd2edacbe651e2aa54165039737e8de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / picvane_image_tools-0.1.0-py3-none-any.whl
| Download URL | picvane_image_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7b5b5098da1cf58aa87c91669ba4bd8540f3a0d806f2814457d97abfd0026b0
|
|
BLAKE2b-256 checksum How to use checksums |
b048c22e3df0fd60613d233c9499f3490530c79811b1dc986906bed07c6b6ef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for picvane-image-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.