Skip to content

savijoki/compress-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This repository contains a small python script for image compression using Pillow, which is a fork of Python Imaging Library (PIL). Both PNG and JPEG -filetypes are supported. Filetype is recognized using python-magic.

The script supports Python versions 3.3, 3.4, 3.5 and 3.6.

Setup

Create virtual environment:

$ virtualenv venv -p python3

Activate virtual environment:

$ source venv/bin/activate

Install requirements:

$ pip install -r requirements.txt

Usage

$ python3 main.py <path-to-directory>

About

Image compression using PIL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages