This snippet of code will convert any colourful image to grayscale.
$ pip install Pillow
- Fork this repo and navigate to ShortenLinks folder
- (optional) Add images to same directory with this
code.pyfile. - Enter image name in input.
- Boom!! you will see a image will generate with name as GrayScaled_YOURIMGNAME.jpg".
| Before | After |
|---|---|
![]() |
![]() |
| Colourful | GrayScaled |

