How to invert colors of image with PIL (Python-Imaging)?

Posted by bialix on Stack Overflow See other posts from Stack Overflow or by bialix
Published on 2010-03-23T09:54:25Z Indexed on 2010/03/23 10:03 UTC
Read the original article Hit count: 385

I need to convert series of images drawn as white on black background letters to images where white and black are inverted (as negative). How can I achieve this using PIL?

© Stack Overflow or respective owner

Related posts about python

Related posts about python-imaging-library