Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 863 Bytes

File metadata and controls

32 lines (21 loc) · 863 Bytes

Compress Bulk Images Using PIL

This tool is inspired by this blog:

  • How to Compress Images in Python
  • most of the codes are from same blog too.

Credit to @x4nth055 link to github

Requirements

  • Python3
  • PIL

How to use this tool

$ python3 -m venv env
$ source env/bin/active
$ pip install -r requirements.txt
$ python compressImage.py --help

What in this?

  • Allows you to compress single images from command line see links above (credit to: @x4nth055)
  • Multiple image compression
  • Read images from a directory and save to another directory

Appreciation

Special thanks to @x4nth055 for inspiring this.