node-sprite-generator icon indicating copy to clipboard operation
node-sprite-generator copied to clipboard

Generates image sprites and their spritesheets (css, stylus, sass or less) from sets of images. Supports retina sprites. Provides express middleware and grunt task.

Results 16 node-sprite-generator issues
Sort by recently updated
recently updated
newest added

if the `src` config is a string type, then will throw an error: { Error: EISDIR: illegal operation on a directory, read errno: -4068, code: 'EISDIR', syscall: 'read' }, and...

Add option for a stylesheet in JSON format (e.g. `options.stylesheet: 'json'`)

I got the error `Unrecognized option` when I tried to generate sprites with this options: ``` nsg({ src: [ this.config.src + `/*.png`, ], spritePath: this.config.dest + `/sprite.png`, stylesheetPath: this.config.cssDest +...

{ Error: Command failed: gm convert: Unrecognized option (-Infinity). This seems to get triggered at node_modules/gm/lib/command.js:297:17

I think it would be nice if `node-sprite-generator` supports [`sharp`](https://github.com/lovell/sharp) as a compositor.

Try generating an sprite with options.layoutOptions.padding = 5 and you'll notice that the generated sprite is blurred. Probably it's due to some rounding when positioning the elements. Please at least...