Created
December 8, 2020 12:35
-
-
Save Abhayparashar31/778348d917724669045b0c192c07b993 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image, ImageOps | |
img1 = Image.open("img.png") ## Load a imge | |
img1.show() | |
img2 = ImageOps.grayscale(img1) ## gray scale | |
img2.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment