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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: indexed-png-stats-0.0.6.tar.gz
  • Upload date:
  • Size: 6.6 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.6.tar.gz
Algorithm Hash digest
SHA256 71e7a356a6cc70db29f7a138e6e8d77c972af3d3a25314c7e20c36cabe6089b1
MD5 791fed636ba3c79757f1660a5d6169d9
BLAKE2b-256 cd7ff62b724d201c8928f9676d04128b9b74e69cbb0f334bedc8adde8e91a928

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