elvishp2006 / tinypng

Batch compress images by tinypng API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • Move tinypng.sh to your project root

  • Install jq to parse json.

  • Then, just run ./tinypng.sh .

  • All png files in this project will be compressed by recursion.

  • A key can compress up to 500 png for free. Support multiple keys to slove this problem, premise is you have multiple mail to apply key.

  • Support record which files are compressed, and then skip these files.

About

Batch compress images by tinypng API


Languages

Language:Shell 100.0%