This Python script processes images from a specified directory and converts them to black and white (grayscale). It then saves the edited images in another directory.
-
Clone the Repository:
git clone https://github.com/your-username/image-black-and-white-converter.git -
Install Dependencies:
pip install Pillow -
Run the Script:
- Place your images in the
imgsdirectory. - Execute the script:
python convert_to_bw.py - The converted images will be saved in the
editedImgsdirectory.
- Place your images in the
- Python 3.x
- Pillow (Python Imaging Library)
convert_to_bw.py: Python script for image processing.imgs/: Directory containing input images.editedImgs/: Directory where the edited images are saved.