oxipng-pybind
oxipng-pybind is a Python wrapper for oxipng. It optimizes PNG files and
raw bytes.
Install it with:
python -m pip install oxipng-pybind
If no wheel is available for your platform, see
Build from source.
Main API
optimizereads and writes PNG files.optimize_from_memoryreads and writes PNG bytes.RawImagebuilds PNG bytes from packed pixel data.analyzereports size and option details.
Error handling:
- Image decode and optimization failures raise
PngError. - Caller mistakes raise normal Python exceptions.
This project can replace pyoxipng for most use cases.
It tracks upstream Rust oxipng version updates.
Links
Metadata
Release files for oxipng-pybind 10.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oxipng_pybind-10.2.1.tar.gz | 193.6 kB | Details |
Built distributions (wheels)
Total release size: 5.3 MB
Release files / oxipng_pybind-10.2.1.tar.gz
| Download URL | oxipng_pybind-10.2.1.tar.gz |
|---|---|
| Size | 193.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab74cb98ae8897d8f5022fcd7be9a5a66d527abd9e73d753ccce7564489cdb97
|
|
BLAKE2b-256 checksum How to use checksums |
0e9f65e20be758462b653124edad3f5102d2221910e94a4d152c339bad679788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp311-abi3-win_amd64.whl
| Download URL | oxipng_pybind-10.2.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 464.7 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
945aa3495e4177cccd944ece8da3ba68addd4a61e38fc377b2582913eae3149b
|
|
BLAKE2b-256 checksum How to use checksums |
22db29077612540f2863d8736275ed9068455f1c53817af90f3650401a97b708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | oxipng_pybind-10.2.1-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 561.5 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ac6f65e5bbf61b86854573371c1099c1deb7b2bad81362e46bd7e23d7c28df18
|
|
BLAKE2b-256 checksum How to use checksums |
196dc763d68779f7af4548d661d0d5bfd42b83885643787f63f90e7c41561142
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | oxipng_pybind-10.2.1-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 529.7 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
2a6d0167232ba1f1f80efdc0e8ffc11a36faf76b37fe840a1ecb450d0720134a
|
|
BLAKE2b-256 checksum How to use checksums |
546cb670ff70133b5381f17b4f015e7edbcc4da83cf4ea6ea3a16c830179e47a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | oxipng_pybind-10.2.1-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 486.0 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8408f3aec35816209d50dcfceb3852cf639aa971704ee6c52972b8222047caa2
|
|
BLAKE2b-256 checksum How to use checksums |
6f18f073864b47011f70bd85583c85f1279098ca3ae6b36e57ebc8944d16601b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | oxipng_pybind-10.2.1-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 516.5 kB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d480289e6066b2bf0aa3e828ada973f05305417fb8f757f7e176ed45489cd500
|
|
BLAKE2b-256 checksum How to use checksums |
6d887857ae0a12fd2e53538756188aee64c0ce5968856a6b2dff2c79981b5f2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp310-abi3-win_amd64.whl
| Download URL | oxipng_pybind-10.2.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 465.9 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
3e8c0c64425fbaeff69ca1b915e7b1fbb46d6a966224705d6502afe8201ce723
|
|
BLAKE2b-256 checksum How to use checksums |
602b0126d422ab21858359f1c798139d8be65e88af3f695286f10213fef00dd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | oxipng_pybind-10.2.1-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 562.4 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
45223bb24130cd0186ee8152692a9521abf999076f2faff691fecb1ce0451370
|
|
BLAKE2b-256 checksum How to use checksums |
fa0d4f534844573b0949a70a24183141808f42de562bfb20e643dc7f9019eea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | oxipng_pybind-10.2.1-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 531.2 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
edb981064aea9ab1a980431a8ac92e32479414e5db3364aa4229270bbaf33a04
|
|
BLAKE2b-256 checksum How to use checksums |
cce919ae88b766781aa73d0b6bcaed2a6739a60f772cd888c5531d6a2a1756ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | oxipng_pybind-10.2.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 488.1 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f77f63bac818bede30ce6164271e64a6c4f55cecb854cffcf797fbd99b3942e
|
|
BLAKE2b-256 checksum How to use checksums |
b6360f0fa569bfaa14f2b6ce64065d52cefecd0a517d078cd117176226827df7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / oxipng_pybind-10.2.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | oxipng_pybind-10.2.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 517.9 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
018117db7835b32d336f9c89191637c597626c2b17a52cf664527d4507acdb98
|
|
BLAKE2b-256 checksum How to use checksums |
b204e662da56d6167919122efeb7e2478f408a18164824f984cbecc8998693ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log