Sylph
v0.0.2 Image optimization, processing, and spriting library.
Example
var fs = Sylph = ; var sylph = ; var imagePath = './resources/image.jpg' image = fs; // let's scale an image to 200x200 and then optimize it sylph;
Features
- Optimize images
- Build requested image sizes
- Build sprite sheet (image1&image2) [planned]
Dependencies
- Imagemagick
- jpegtran (can be installed through npm)
OSX: brew install imagemagick pngcrush
Debians: sudo apt-get install imagemagick pngcrush