loading...
Cover image for Convert Color Photo to Black & White in Python

Convert Color Photo to Black & White in Python

codesnail profile image CodeSnail (Arpit) ・1 min read
from PIL import Image

img=Image.open("rdj.jpg")
contobw=img.convert("L")
contobw.save("rdj-bw.jpg")
contobw.show()

Follow us :)

Discussion

markdown guide