You've all seen them, prerendered sprites with antialiasing. If you render them on bright background, they look like shit on dark BG, if you render them on dark BG, they look like shit on bright BG

Well, here's a solution:
Just open it in this simple tool, press spacebar, and wait while magic happens, or hit spacebar again to stop the process

Partially transparent pixels now have color of nearest solid surface, and fit perfectly on any background. Obviously, this doesn't work properly if sprite itself has transparent parts.
I also included a texture padding tool, just left click on empty space and it will generate padding, nothing less, nothing more.

No more nasty surprises when using mipmaps.
Oh, and before I forget: Press S to save results

Here's the download: http://www.mediafire.com/?sjoay9b8cbxcaoz