Closed poonai closed 7 years ago
var nsg = require('node-sprite-generator');
nsg({
src: [
'../images/*.png'
],
spritePath: '../sprite.png',
stylesheetPath: '../sprite.css',
stylesheet: 'css'
}, function (err) {
console.log('Sprite generated!');
});
here is my script .the image folder nearly having 700 images .sprite.css is generating but sprite.png is not @selaux
Is there any error? Did you try different compositors?
Error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
at Error (native)
i'm getting this error @selaux thanks for your support
Did you check how big the sprite will get, maybe it's getting too big for memory...
ohh no i didn't check that i'll try to make as two separate sprite and let you know Thanks!!
Some more information please 😉