Skip to content

Simple Python script for converting JPG or PNG images to WEBP and making them smaller with lossy compression.

License

Notifications You must be signed in to change notification settings

Pavel40/web-image-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Web image optimizer

Simple Python script for converting JPG or PNG images to WEBP and making them smaller with lossy compression.

About

This simple script looks for every JPG, PNG, or JPEG in every directory or subdirectory, makes a backup in one zip archive, and by default converts it to WEBP, scales it to Full HD (1920x1080), and makes the quality 60. This behavior can be changed by specifiing size, format, and quality in command line arguments.

Usage

web-image-optimizer.py format width height quality

This script is available under GNU GPL v3 license. See LICENSE.md for details. Copyright (c) 2021 Pavel40

About

Simple Python script for converting JPG or PNG images to WEBP and making them smaller with lossy compression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages