Initial import from http://spritegenerator.codeplex.com/