Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ tinypng Public

Command line tool for compressing images using the TinyPNG API

Notifications You must be signed in to change notification settings

wyhaya/tinypng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinypng

Command line tool for compressing images using the TinyPNG API

Install

Download the binary from the release page

Usage

  1. Register a KEY using your email at link

  2. Set TinyPNG API KEY

tinypng -k <KEY>
# Set API KEY successfully
# Your key is stored in ~/.config/tinypng/config.toml
  1. Compress images
tinypng ./test.png
# test.png: Origin: 1004.7 KB Compressed: 245.4 KB(75.6%)

# Glob
tinypng ./images/*.png
# images/test.png: Origin: 1.4 MB Compressed: 174.5 KB(87.8%)

About

Command line tool for compressing images using the TinyPNG API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages