LastPNG for Pillow
Save PNG images from Pillow with LastPNG. Install with pip install LastPNGImagePlugin,
then import the plugin to register the LASTPNG format.
from PIL import Image
import LastPNGImagePlugin
with Image.open("input.png") as image:
image.save("output.png", format="LASTPNG", level=3)
Choose a compression level from 1 (fastest) to 6 (experimental, highest effort).
The default is 3. The plugin supports single images in modes 1, L, I;16,
P, RGB, LA, and RGBA. Platform wheels bundle the encoder. Building
from source requires a Rust toolchain and a C compiler.
Metadata
Release files for LastPNGImagePlugin 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lastpngimageplugin-0.1.0.tar.gz | 130.4 kB | Without provenance | Details for lastpngimageplugin-0.1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_x86_64.whl | Python 3 | none | Linux glibc 2.34+ x86-64 | Details for lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_x86_64.whl |
| lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_aarch64.whl | Python 3 | none | Linux glibc 2.34+ ARM64 | Details for lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_aarch64.whl |
| lastpngimageplugin-0.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for lastpngimageplugin-0.1.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 3.3 MB
Release files / lastpngimageplugin-0.1.0.tar.gz
| Download URL | lastpngimageplugin-0.1.0.tar.gz |
|---|---|
| Size | 130.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
515f9c5fad2345f0e4f9b389cdcc5be613ee99b1bc69a1a88e05dfde5c82d557
|
|
BLAKE2b-256 checksum How to use checksums |
85597503ed7f20883aa2e5dc91a01e8b0c56a816dc27ed7c604cf18f6409beb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_x86_64.whl
| Download URL | lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Linux glibc 2.34+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
91674d084ecc56655a7c2b126f824d593923b324425cc271e68930456dbc4a11
|
|
BLAKE2b-256 checksum How to use checksums |
939ca095902776b16c2178ca7df87c2c7279fb0b25ec84fe045a2a158b7a38be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_aarch64.whl
| Download URL | lastpngimageplugin-0.1.0-py3-none-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Linux glibc 2.34+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
0a90a6806f4e7bb6df141a78d82a25c259ca01cc68d2ef4c381734ed9e6f4921
|
|
BLAKE2b-256 checksum How to use checksums |
6a0dc404312778e7e6da1602b70d749f986ccf7fd0a1264675333ea1cde9a270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / lastpngimageplugin-0.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | lastpngimageplugin-0.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 424.9 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8085e9d919f6f192366621ce64f636e1a96eec5f3d7fdcfaaed4ec76c2ed585b
|
|
BLAKE2b-256 checksum How to use checksums |
1a846eaa57574ca030c4360597f7bd36539bcb9b0a19ac6d415eeb2305f3087b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Security for LastPNGImagePlugin 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.