Observed since 21 Oct, 09:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aggimg
Aggressive image optimizer cli!
This CLI tries to bring all images to a size of 500kb without losing to much quality.
You can see the results in this repo (HQ_unsplash1.jpg original to reduced unsplash1 copy.jpg).
It uses pillow package to accomplish that.
It's recommended to use pipx to install package, but pip should work as well.
pipx install aggimg
You can specify path to folder which contains images you want to shrink/optimize image size.
aggimg --path ./images
You can also don't specify the path and aggimg will look into current directory for images.
aggimg
Images that start with HQ_ prefix will ignored.
$: aggimg --path ./images
INFO - Trying to optimize ./images/unsplash1 copy.jpg
INFO - Reduced from 2222333 to 752461 which is a 66.14% reduction
INFO - Trying to optimize ./images/unsplash2 copy.jpg
INFO - Reduced from 1720129 to 478766 which is a 72.17% reduction
INFO - Trying to optimize ./images/unsplash3 copy.jpg
INFO - Reduced from 3054558 to 573479 which is a 81.23% reduction
Please note that images will be modified in place (overwritten).
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
pillowEnvironment{
"extras": "",
"marker": null,
"requires_python": "",
"evaluation": "NOT_EVALUATED"
} | pillow==10.3.0 | runtime |
bdist_wheel · 3.83 KB · Python py3
sdist · 3.63 KB · Python source
Shared repository data · GitHub
Observed since 21 Oct, 09:03 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:b589b3b8b0542f7f10e9c74cae7ad29f6cee0852933d406048d760d16aaaeb8d