Awesome-Python-Scripts/Color_to_BW_Converter
2019-10-05 21:44:59 +05:30
..
bw_convert.py Added Color_to_BW_Converter 2018-10-23 00:57:39 +05:30
README.md Added Color_to_BW_Converter 2018-10-23 00:57:39 +05:30
requirements.txt Add script level requirements.txt 2019-10-05 21:44:59 +05:30
sample_image.jpg Added Color_to_BW_Converter 2018-10-23 00:57:39 +05:30

Colored Image to Black & White Image Converter

A simple python script which takes colored image filename as argument and converts it into grayscale image and saves the output image file. It shows the basic usage of Pillow library.

Libraries Required

  1. Pillow (PIL) $pip install Pillow

Usage

  1. Go to the script's folder and open command prompt.
  2. Run command : $python bw_convert.py <image_file_name>

Example

$python bw_convert.py sample_image.jpg