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
Raw data
{
"_id": null,
"home_page": "https://github.com/waikato-datamining/indexed-png-stats",
"name": "indexed-png-stats",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Peter Reutemann",
"author_email": "fracpete@waikato.ac.nz",
"download_url": "https://files.pythonhosted.org/packages/cd/7f/f62b724d201c8928f9676d04128b9b74e69cbb0f334bedc8adde8e91a928/indexed-png-stats-0.0.6.tar.gz",
"platform": null,
"description": "Python library that inspects indexed PNG files and outputs the pixel counts\nper palette entry.\nCan inspect multiple directories and work recursively as well.\nOutput can be as summary or per file, in plain-text or JSON.\nIt is also possible to remap palette indices, e.g., replacing 5 with 1.\nChangelog\n=========\n\n0.0.6 (2023-11-15)\n------------------\n\n- added threshold parameters `--above`/`--below` to check for large/small amount\n of pixel annotations in images, search can be limited to specific palette\n entries via the `--index` parameter\n\n\n0.0.5 (2023-10-25)\n------------------\n\n- `--backup` option now also gets applied in recursive mode\n\n\n0.0.4 (2023-10-25)\n------------------\n\n- added `indexed-png-remap` tool for remapping color palette entries\n (eg replacing 5 with 1).\n\n\n0.0.3 (2023-06-23)\n------------------\n\n- fixed recursive analysis, no longer iterates through characters of path,\n verbose flag is passed on now too\n\n\n0.0.2 (2023-06-15)\n------------------\n\n- added missing MANIFEST.in\n- `--image_dir` supports multiple directories now\n\n\n0.0.1 (2023-06-14)\n------------------\n\n- Initial release",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python library that inspects (and can remaps) indexed PNG files.",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/waikato-datamining/indexed-png-stats"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cd7ff62b724d201c8928f9676d04128b9b74e69cbb0f334bedc8adde8e91a928",
"md5": "791fed636ba3c79757f1660a5d6169d9",
"sha256": "71e7a356a6cc70db29f7a138e6e8d77c972af3d3a25314c7e20c36cabe6089b1"
},
"downloads": -1,
"filename": "indexed-png-stats-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "791fed636ba3c79757f1660a5d6169d9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6630,
"upload_time": "2023-11-14T23:14:58",
"upload_time_iso_8601": "2023-11-14T23:14:58.872268Z",
"url": "https://files.pythonhosted.org/packages/cd/7f/f62b724d201c8928f9676d04128b9b74e69cbb0f334bedc8adde8e91a928/indexed-png-stats-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-14 23:14:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "waikato-datamining",
"github_project": "indexed-png-stats",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "indexed-png-stats"
}