tags:

views:

27

answers:

1

Hi I was wondering how I can convert BMPs to a grey scale using Image Module of Python? Thanks

+3  A: 

Greyscale image mode is 'L'.

>>> import Image
>>> Image.open('input.bmp').convert('L').save('output.bmp')
bobince