Closed ghostlvs closed 8 years ago
By providing an image with the .gif
extension, a GIF should automatically be exported:
{
src: 'path/to/your/sprites/*.gif',
dest: 'destination/of/spritesheet.gif',
destCss: 'destination/of/sprites.css'
}
If you want to manually override the assumed extension, then imgOpts.format
can be used to specify gif
:
{
src: 'path/to/your/sprites/*.data',
dest: 'destination/of/spritesheet.data',
destCss: 'destination/of/sprites.css',
imgOpts: {
format: 'gif'
}
}
can you give me a demo output gif img,please.