03fa819716d8c1d4f226e813c2becb95d6fd1cf0
imageoptimizer
imageoptimizer is a tool for bulk compression og JPG images. It will re-compress original images and replace them if the savings is more than the requested percentage difference, default is 25%. By defaul it operated in a "dry run" mode where images are not replaced but individual and total savings are reported at the end, unless you supply the '-replace' flag.
usage
Recursively check all images starting from the current path. Calculate actions and total svings but don't make any changes.
imageoptimizer -recursive -compresslevel 85 -diff 25
Replace images in the current path with a compressed version if compressing at 80% reduces file size by at least 30%
imageoptimizer -compresslevel --replace --diff 30
Description
Automagically optimizes images in a directory (optionally recursively) with a given compression level and criteria for replacement.
Languages
Go
100%