PHP web service that powers SpriteMe. ported from my old bitbucket account