Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.34 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.34 KB

Image Convert

Build Release codecov Go Report Card Go Reference

ImageConvert converts pngs and webps to jpeg and optionally compresses them with jpegoptim.

Requirements

Run

imageconvert -compress -log-file processed.log -dir /path/to/images
imageconvert -compress -threads 1 -depth 2 -resize-threshold "2560x1440" -resize-size "5120x2880" -processed-file processed.log -path /path/to/images -watch
trimlog -log-file processed.log

print help:

imageconvert -h