websperts / tinypng-cli

Handy command line tool for shrinking PNG images using the TinyPNG API
MIT License
247 stars 39 forks source link

An option to remember which images have been compressed #10

Open pshemek opened 8 years ago

pshemek commented 8 years ago

Such option could save TinyPNG hits. The information could be stored in a json file. (Like this Grunt task does.)

artiswilliams commented 7 years ago

Agreed. I used that grunt task previous to switching to all npm scripts. Would appreciate this option. Uses MD5 hash of the file compared against a json file of md5 hashes of previously compressed files.