Skip to content

Image compression based on the tinyPNG API. There is no need to configure the API secret key

Notifications You must be signed in to change notification settings

zzhoouxin/tiny-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyPNG

Compress PNG with TinyPNG in terminal.There is no need to configure the API.But the key needs to be set when the image is in high concurrency(Colleagues handle more than 20)

Installation

$ npm install -g tiny-png-zx

Usage

Usage: tinypng [options] 
Options:
  -k, --api-key      	Set default TinyPNG API key.
  -a, --all             Modify all images under the file.
  -c, --current      	Current level directory
  -p, --part            Processing of specified files,use: tinypng -p  [image.png|*.png|*.jpeg|*.jpg]
  -h, --help            This message.
  -v, --version         Show version.

License

About

Image compression based on the tinyPNG API. There is no need to configure the API secret key

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published