Is there grunt tasks for generating images sprites according by css?

Let's say I have the following style.css file:\[code\]h1 { padding: 10px; background: url('/img/header.png');}p { background: url('/img/p.png');}\[/code\]I need to make image sprite for this css automatically. I need to get something like this:\[code\]h1 { padding: 10px; background: url('/img/sprite.png') -47px 0;}p { background: url('/img/sprite.png') -130px 0;}\[/code\]Is it possible to make automaticaly by using grunt task?
 
Top