Skip to content

This is a command line tool that enables you to compress either single image or multiple images from a directory and save in another directory.

Notifications You must be signed in to change notification settings

codeOlam/python-batch-image-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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.

About

This is a command line tool that enables you to compress either single image or multiple images from a directory and save in another directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages