$npx skillfedfor your agent

pypng

Pure Python library for saving and loading PNG images

With conditionsPyPI Python ModulesReleased Jul 20228.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pypng-0.20220715.0-py3-none-any.whl
v0.20220715.0 · released 2022-07-15

Yes, if you need pure-Python PNG I/O with no external dependencies and can tolerate an abandoned codebase. The library is stable for basic read/write tasks and has no known vulnerabilities. Install only if you specifically require zero compiled dependencies or are working in a constrained environment; otherwise, more actively maintained alternatives may be preferable.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.5 or later; the package is pure Python with no compiled dependencies.
  • Installation is straightforward with low friction—the package is pure Python with zero runtime dependencies and installs via a simple wheel.
  • However, the project is marked abandoned with no releases since 2022-07-15, so expect no active maintenance or bug fixes.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only that you retain the license notice in distributions.

last release 2022-07-15 (1491 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,671,088 downloads/mo, #1,599 on PyPI

Verify before relying

import pypng
pypng.from_array([[255, 0, 0, 255],
                  [0, 255, 255, 0]], 'L').save("image.png")
  • Whether the abandoned status affects real-world reliability for common PNG read/write tasks
  • Performance characteristics compared to other pure-Python PNG libraries or alternatives
Same gist for agents: .md · .json

What it is and what it does

PyPNG is a pure Python library for reading and writing PNG image files. It handles grayscale, RGB, and RGBA color modes and supports various PNG features like interlacing, transparency, and ICC profiles through command-line tools. The core module has no external dependencies, making it lightweight and portable—you can even copy the single file into your project and use it directly.

The library is designed for straightforward PNG I/O without the overhead of compiled image libraries. It includes both a Python API for programmatic use and several command-line tools for image manipulation and format conversion. However, the project has been abandoned since 2022-07-15, so there is no active maintenance or support for new features or bug fixes.

Use it for

  • Generate simple PNG images programmatically from pixel arrays in pure Python environments
  • Read and write PNG files in applications that cannot depend on compiled libraries
  • Convert between PNG and other formats using the included command-line tools
  • Add or modify PNG chunks like ICC profiles and transparency via command-line tools
  • Join multiple PNG images horizontally or vertically using included utilities

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need pure-Python PNG I/O with no external dependencies and can tolerate an abandoned codebase.

The library is stable for basic read/write tasks and has no known vulnerabilities. Install only if you specifically require zero compiled dependencies or are working in a constrained environment; otherwise, more actively maintained alternatives may be preferable.

Install

pypng on PyPI

Before you install

Installation is straightforward with low friction—the package is pure Python with zero runtime dependencies and installs via a simple wheel. However, the project is marked abandoned with no releases since 2022-07-15, so expect no active maintenance or bug fixes.

Requires Python 3.5 or later; the package is pure Python with no compiled dependencies.

License in practice

MIT license permits commercial and private use with minimal restrictions, requiring only that you retain the license notice in distributions.

Quickstart

import pypng
pypng.from_array([[255, 0, 0, 255],
                  [0, 255, 255, 0]], 'L').save("image.png")

Verify before relying

  • Whether the abandoned status affects real-world reliability for common PNG read/write tasks
  • Performance characteristics compared to other pure-Python PNG libraries or alternatives

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,491 days since the last release
First released
Downloads8,671,088 / month, #1,599 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Multimedia :: GraphicsTopic :: Software Development :: Libraries :: Python Modules

Evidence: pypng-0.20220715.0-py3-none-any.whl

Tags

Capabilities
png image read write pythonpure python png librarypng encoder decodersave load png filespng image manipulationgrayscale rgb pngpython png no dependencies
Topics
pure-pythonimage-formatabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “png image read write python”

  • pypngPyPNG reads and writes PNG image files in pure Python with no…
  • OpenImageIOOpenImageIO reads, writes, and processes images in nearly any file…
  • ImageIOImageIO reads and writes images and video in over 295 formats,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pyoxipng · qrcode · PyQRCode · pyjpegls · rawpy · qoi · pdf2image · fpdf · astc-encoder-py · OpenEXR