Focused Python wrapper for oxipng.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oxipng_pybind-10.1.1.tar.gz.
File metadata
- Download URL: oxipng_pybind-10.1.1.tar.gz
- Upload date:
- Size: 140.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d68962f1a69d9a8fdfd12cca89e37917a8f26a9b20bf39b94776ed479ecc50c
|
|
| MD5 |
25fa4f228ea41af3fd8504102a8a19ff
|
|
| BLAKE2b-256 |
3599660d557ef74cb48f0491d18852c094240d3f33c45c38532ee48dd95f6d47
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1.tar.gz:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1.tar.gz -
Subject digest:
0d68962f1a69d9a8fdfd12cca89e37917a8f26a9b20bf39b94776ed479ecc50c - Sigstore transparency entry: 1649959438
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oxipng_pybind-10.1.1-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: oxipng_pybind-10.1.1-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 454.6 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02494ed3cd7bf14cf7270f9104c22d8002688970f538dac2b53045816610a447
|
|
| MD5 |
cb30477caa8dbbf47c08ad161566c62b
|
|
| BLAKE2b-256 |
17b8293da2a5a4fe28ea1865bd0eb7d34497e4d5d58fe11448389109261f7141
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1-cp311-abi3-win_amd64.whl:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1-cp311-abi3-win_amd64.whl -
Subject digest:
02494ed3cd7bf14cf7270f9104c22d8002688970f538dac2b53045816610a447 - Sigstore transparency entry: 1649959702
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 553.1 kB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ff7a14517b57066d2a73eb2e67621acbc132496d34b2160929d15986366cfa
|
|
| MD5 |
c66952dafca684605b9226327c7e6d2e
|
|
| BLAKE2b-256 |
981f839c4c0ed7171e2b374649c8533d06e50d9a3a6100e8863de520e3fda0c5
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
10ff7a14517b57066d2a73eb2e67621acbc132496d34b2160929d15986366cfa - Sigstore transparency entry: 1649959488
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 525.4 kB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9e089bd8af028866c64409f343faa70a401e758b14721c0b33f58cf9d4a3ad3
|
|
| MD5 |
df061cc7fc6a7ef704d3d2473b9a6edc
|
|
| BLAKE2b-256 |
23882132e9dd2329a0814b120d18a42d140daaed20cba990be264a4ed87faaa3
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_aarch64.whl:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1-cp311-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
e9e089bd8af028866c64409f343faa70a401e758b14721c0b33f58cf9d4a3ad3 - Sigstore transparency entry: 1649959647
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oxipng_pybind-10.1.1-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: oxipng_pybind-10.1.1-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 487.9 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9c822fac0f6e3133fce84d4baf5a5ae6cd77c3df0e0e64f4729a820766c830c
|
|
| MD5 |
dc7e2b93e1fba332c7945f2227be03ac
|
|
| BLAKE2b-256 |
e10b9270d0a74e0c32616f661809ae278e5cccc3731bcd6d8e0ca55f7f8d50ce
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
c9c822fac0f6e3133fce84d4baf5a5ae6cd77c3df0e0e64f4729a820766c830c - Sigstore transparency entry: 1649959601
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type:
File details
Details for the file oxipng_pybind-10.1.1-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: oxipng_pybind-10.1.1-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 521.7 kB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9ba0a34fe7437419f2dde0ecf8e8b9965a19f88c639f111cf2aefc5c7647fa
|
|
| MD5 |
babb179bbfd7ac4836d9fb6a0e2350b0
|
|
| BLAKE2b-256 |
4598707fda38b8dfaa8c0e77c7c85a847c76d8b36bf800de1feeffe2192756da
|
Provenance
The following attestation bundles were made for oxipng_pybind-10.1.1-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
wheels.yml on pdomain/oxipng-pybind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
oxipng_pybind-10.1.1-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
3e9ba0a34fe7437419f2dde0ecf8e8b9965a19f88c639f111cf2aefc5c7647fa - Sigstore transparency entry: 1649959555
- Sigstore integration time:
-
Permalink:
pdomain/oxipng-pybind@35fbf7af6422b8277a85b4810a362289babc9896 -
Branch / Tag:
refs/tags/v10.1.1 - Owner: https://github.com/pdomain
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@35fbf7af6422b8277a85b4810a362289babc9896 -
Trigger Event:
push
-
Statement type: