Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.06 KB

File metadata and controls

28 lines (18 loc) · 1.06 KB

Compress Image

Description

This snippet of code will Compress the image upto a great extent without affecting quality of image.

Requirements

$ pip install Pillow

Steps To Execution

  • Fork this repo and navigate to ShortenLinks folder
  • (optional) Add images to same directory with this code.py.
  • Modify the names in code.py
  • Run this code.py $ python code.py
  • Boom !!! a new image will generate with much less size but same quality.
  • Enjoy the the Image Compress Thing !!!!!

Code Output

op2

Before After
1 1_compressed
Size : 7.3 MB Size : 1.7 MB