I was wondering how I can convert BMPs to a grey scale using Image Module of Python? Thanks
Greyscale image mode is 'L'.
>>> import Image
>>> Image.open('input.bmp').convert('L').save('output.bmp')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With