kmeans_comrepss.py
: compressiong images by kmeanspython kmeans_compress.py \ --inputPath "your input image directory" \ --outputPath "saved image folder" \ --kcluster "how many colors want to be used in compressed image, default is 20" \ --maxiters "how many iteratiosn for kmeans, default is 20"
optimize_images.py
convert_web_images.py
: crop image and covert to webp format. Make sure webp installed/enabled in your computerpython convert_web_images.py \ --inputPath "your input image directory" \ --outputPath "saved image folder" \ --width 68 \ --height 68 \ --crop True #resize image if crop=False
-
Notifications
You must be signed in to change notification settings - Fork 0
rachel-pai/web_images_toolkits
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published