Added game.Sprite.fromImage function