webpmin
WebPMinifier is a small tool written in pure Python to minify WebP files by stripping out ancillary data, this is similar to the tool: pngminifier but it operates on WebP instead of PNG files. VP8 , VP8L, VP8X, ANIM, ANMF,
ALPH chunks escape this filter as these are essential for a
WebP file to work as intended.
Some included chunks which fall in extended format section are considered semi-optional because they play the role to make the WebP file function correctly. These are — VP8X, ANIM, ANMF, ALPH.
Installation
Python must be installed whose version should be over 3.5. On GNU/Linux systems pip not installed by default, make sure that PIP 3 is installed.
# replace: pip with pip3, if required.
pip install webpmin
usage: webpmin.__main__ [-h] [--include | --exclude ] input output
...
positional arguments:
input Input file to read WebP data from
output Output file to write WebP data to
optional arguments:
-h, --help show this help message and exit
--include Include user-defined chunks separted with commas. If chunk
names are over four bytes, latter ones are excluded. By default
ANIM, ANMF, ALPH (semi essential chunks) will escape this filter.
--exclude Exclude user-defined chunks separte with commas.
Still, essential chunks will escape this filter.
Some examples of using this tool:
$ webpmin in.webp out.webp
# Include embedded color profile and XMP data.
$ webpmin in.webp --include "ICCP,XMP " out.webp
# Exclude EXIF tags, syntax is same as --include.
$ webpmin in.webp --exclude "EXIF" out.webp
Metadata
Release files for webpmin 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webpmin-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for webpmin-1.1.4-py3-none-any.whl |
Release files / webpmin-1.1.4-py3-none-any.whl
| Download URL | webpmin-1.1.4-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1778490de65b832bcf9c63e1321837be1d556fd02be4ee187df6caa7af98495f
|
|
BLAKE2b-256 checksum How to use checksums |
885e48ef50b981faa3ab151fbbfa93545ffdce6e32314e318050fb83fd6b747e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
|
Security for webpmin 1.1.4
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.