Pyhon and PIL

olav.viken at kmss.no olav.viken at kmss.no
Wed Mar 6 03:54:47 EST 2002


>Maybe this would work?
>
>    import Image
>    Image.open('yellow.bmp').convert('L').point(255*[0] + [255]) \
>        .convert('1').save('yellow.bmp')

Yes, it did!

Thanks a lot François Pinard

Best regards
Olav




More information about the Python-list mailing list