[Image-SIG] Create a 'disabled' image effect (similar to how Windows shows disabled images)

python at bdurham.com python at bdurham.com
Wed Dec 1 15:38:43 CET 2010


Any suggestions on a PIL receipe that will allow me to take a
color image and create a grayscale version of this image that
gives the image a disabled appearance similar to the effect that
Windows applies to show disabled icons?

My use case is to dynamically create disabled versions of my
application's graphics when a specific feature is disabled or
unavailable.

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20101201/82caf485/attachment.html>


More information about the Image-SIG mailing list