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

Hi there, I'm seeing an error when trying to output javascript styles. I have tried this with both `gm` and `jimp` compositors. error message: ``` ENOENT: no such file or...

node-sprite-generator version `0.10.2` depends on canvas `1.3.12`. https://github.com/selaux/node-sprite-generator/blob/0.10.2/package.json#L15 Since canvas `1.3.12` has some issues that have been solved with version `1.6.3`: - [Clang build error wrt isnan and isinf #863](https://github.com/Automattic/node-canvas/issues/863)...

Here is my code: ``` var nsg = require('node-sprite-generator'); nsg({ src: ['images/1.jpg', 'images/2.jpg', 'images/3.jpg' ], spritePath: 'sprite.png', stylesheetPath: 'sprite.css', stylesheet: 'css' }, function (err) { console.log('Sprite generated!'); }); ``` When...

Very interesting, but what can I do if I have all the icons in svg format?

Why have you removed JPG support? I use `jimp` composer and in 0.10.2 I can still render image to JPG just by using filename with `.jpg` extension, but in master...

There was a `t` missing in `JavaScript` (also camel cased it).

First of all, thanks for the tool! Right now, I really need the output javascript function, so when can get the next release?

Would you be able to support the command line arguments passed to this task? I was kinda surprised when `--no-write` didn't work. Looking under the hood I see that you...

export the `readTemplatedStylesheetFromFile` function from the default templates and use it in nsg.js instead of `getTemplatedStylesheet` A better solution would move the function elsewhere, and I leave that to you....

For each template type, lib/stylesheet/index.js calls `getTemplatedStylesheet` once passing in the contents of a file for the respective built in template, and `getTemplatedStylesheet` then returns a function that is used...