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.6 (2023-11-15)

  • added threshold parameters –above/–below to check for large/small amount of pixel annotations in images, search can be limited to specific palette entries via the –index parameter

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

indexed-png-stats-0.0.6.tar.gz (6.6 kB view hashes)

Uploaded Source

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