Skip to main content

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.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

indexed-png-stats-0.0.4.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file indexed-png-stats-0.0.4.tar.gz.

File metadata

  • Download URL: indexed-png-stats-0.0.4.tar.gz
  • Upload date:
  • Size: 5.7 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

Hashes for indexed-png-stats-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c67f753210494aaa1fb82824479fef618ed0aeb614b21a392d92db7cfcb3b2b4
MD5 d6d080277f6cdcb32aa5d36b504cd623
BLAKE2b-256 82483669f4de239d1b5cc83eb98ccb5bab0dbb60fa65b105614bdc4bfe34d606

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page