File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- # Compress Image
1+ # Image GrayScalling
22
33## Description
4- This snippet of code will convert any image to grayscale.
4+ This snippet of code will convert any colourful image to grayscale.
55
66## Requirements
77
@@ -10,13 +10,14 @@ This snippet of code will convert any image to grayscale.
1010## Steps To Execution
1111- Fork this repo and navigate to ShortenLinks folder
1212- (optional) Add images to same directory with this ` code.py ` file.
13- - Modify the image name in ` code.py ` GrayScaled_YOURIMGNAME.jpg".
13+ - Enter image name in input.
14+ - Boom!! you will see a image will generate with name as GrayScaled_YOURIMGNAME.jpg".
1415
1516## Output
1617
1718
1819| Before | After |
1920| :---:| :---------------------------------------------------------------------------------------------------------------------:|
20- | ![ 1] ( https://user-images.githubusercontent.com/52918207/121647416-0151e380-cab4 -11eb-96d1-1dfd127789c6 .jpg ) | ![ 1_compressed ] ( https://user-images.githubusercontent.com/52918207/121647438-06af2e00-cab4 -11eb-9fa5-b84787163bb2 .jpg ) |
21+ | ![ 1] ( https://user-images.githubusercontent.com/52918207/122648013-c6e7e680-d144 -11eb-8efd-4573d41b8418 .jpg ) | ![ 1_GrayScaled ] ( https://user-images.githubusercontent.com/52918207/122647910-39a49200-d144 -11eb-8507-767036959d1d .jpg ) |
2122| Colourful | GrayScaled |
2223
Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ When you Add a project Add it to the README for ease of finding it
6161
6262* [ Compress Image] ( https://github.com/larymak/Python-project-Scripts/tree/main/Compress%20Image )
6363
64+ * [ Image Grayscalling] ( https://github.com/larymak/Python-project-Scripts/tree/main/Image%20Grayscalling )
65+
6466_ more coming soon_
6567
6668_ contributions are welcomed, fork the repo and do the magic_
You can’t perform that action at this time.
0 commit comments