The Command Line Tool For Compress Image of JPG/PNG/WebP Format
There are two editions written by Swift/Python
language separately
Run command line as follow to install python edition of OrzTinyPNG
python3 -m pip install pip_search && python3 -m pip install OrzTinyPNG
check the python edition OrzTinyPNG help with running command as follow in terminal:
$ tiny
-
Install
Homebrew
follow guide on the office website: https://brew.sh/ -
After Install
Homebrew
successfully. Run Commands as follow in Terminal:
brew tap orzgeeker/core && brew install orztinypng
- compress an image in-place
$ tiny <image_file_path>
- compress an image to other place
$ tiny <input_image_file_path> -o <output_image_file_path>
- compress images in a directory recursively in-place
$ tiny <directory_path>
- compress images in a directory recursively to other directory
$ tiny <directory_path> -o <dst_directory_path>
- compress images in current directory recursively in-place
$ tiny .
Github-flavored Markdown to write your content.