Simon Willison’s Weblog

1 item tagged “ico”


Load Windows ICO files. Apparently PIL has trouble with the most recent versions of the windows .ico format (Vista now embeds PNG images in them)—this clever function deals with the differences and gives back a PIL Image object. # 17th January 2009, 9:48 pm

Related: images, pil, png, python, vista, windows