Monochrome

Make your photos black and white with Monochrome !


Keywords
Javad Mokhtari Koushyar, monochrome, black and white images
License
GPL-3.0
Install
pip install Monochrome==0.9

Documentation

Monochrome

Make your photos black and white with Monochrome !

full-featured, easy-to-use, fast and lightweight python library based on Python Image Library(PIL).

available for both python 2.x and 3.x ! supports various image formats like : JPEG, PNG, ...

Covered Algorithms
average
luma
desaturation
decomposing
single channel
gray shades

Installation & Usage

via git :

git clone https://github.com/javadmokhtarikoushyar/monochrome/
cd monochrome
# just use monochrome.py in your programs

via pip :

Not Supports In This Version

via easy_install :

Not Supports In This Version

make your first photo monochrome

It's just a few lines of codes :

from monochrome import Monochrome
image = Monochrome(ImagePath)
image.average(outputImagePath)

that's all !