Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitliner/sprites-generator
To generate sprite images
https://github.com/bitliner/sprites-generator
Last synced: about 21 hours ago
JSON representation
To generate sprite images
- Host: GitHub
- URL: https://github.com/bitliner/sprites-generator
- Owner: bitliner
- License: gpl-2.0
- Created: 2013-10-02T23:49:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-03T00:09:26.000Z (over 11 years ago)
- Last Synced: 2025-01-08T09:28:58.545Z (16 days ago)
- Language: JavaScript
- Size: 2.76 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
=======
sprites-generator
=================Tool to generate sprite images.
## Usage
* move all the images in a folder, let's call this folder `example`
* cd in `example`
* run `spites-generator`After running the command, in the same folder there will be the following file
* `example.png`: the image result
* `example.css`: the style for the spritesIn `example.css` you can see the used selectors.
Enjoy!
## Installation
```
npm install -g sprites-generator
```## Requirements
Requires [ImageMagick](http://www.imagemagick.org), available via HomeBrew (`$ sudo brew install ImageMagick`) or MacPorts: (`$ sudo port install ImageMagick`).
## Notes
Based on [node-spritesheet](https://raw.github.com/richardbutler/node-spritesheet)