Sprite Cow is a web-based tool that helps you get the background-position, width and height of sprites within a sprite sheet as a nice bit of copyable CSS. While automated sprite sheet generators are convenient, Sprite Cow gives you control over optimization and compression while saving you time by not having to copy all the positions and sizes from graphics apps.
