Python library that inspects (and can remaps) indexed PNG files.
Project description
Python library that inspects indexed PNG files and outputs the pixel counts per palette entry. Can inspect multiple directories and work recursively as well. Output can be as summary or per file, in plain-text or JSON. It is also possible to remap palette indices, e.g., replacing 5 with 1. Changelog =========
0.0.5 (2023-10-25)
–backup option now also gets applied in recursive mode
0.0.4 (2023-10-25)
added indexed-png-remap tool for remapping color palette entries (eg replacing 5 with 1).
0.0.3 (2023-06-23)
fixed recursive analysis, no longer iterates through characters of path, verbose flag is passed on now too
0.0.2 (2023-06-15)
added missing MANIFEST.in
–image_dir supports multiple directories now
0.0.1 (2023-06-14)
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file indexed-png-stats-0.0.5.tar.gz
.
File metadata
- Download URL: indexed-png-stats-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f30982e96aba12fa0faad3ab9ef8e8e6e6d15a2172509f871fa422b27f13f7 |
|
MD5 | 4a57662edf7a2e4c0768b82707aca5a3 |
|
BLAKE2b-256 | c86f9a9b8734046708d9660ebdcc3bdb01cfd426915c821c1f8a49f1aa71e454 |