Transparent png resizing with Python Image Library and the halo effect
问题 There are a couple similar questions on SO, but none of them really helped. Basically I am trying to resize a simple png image, as seen here: http://media.spiralknights.com/wiki-images/3/3e/Equipment-Proto_Sword_icon.png (from the mmo Spiral Knights, copyright Three Rings Entertainment) I had originally implemented a utility which uses these images in php, and the resizing utility there worked perfectly well. I used the method described on the imagecopyresampled page in PHP's documentation.