css_image_concat 1.2
A script that can concat images into one image and create a CSS file
A script that can concat images into one image and create a CSS file. Super useful when you want decrase issuing a lot of HTTP requests due to a lot of small images (like icons).
To install it do following:
sudo pip install css_image_concat
This script takes three inputs:
image_dir: A directory of images out_img: An output path to the concated image out_css: An output path to a CSS file
Usage is:
css_image_concat <image_dir> <out_img> <out_css>
It will then process all the images of image_dir and create one image and one CSS file with classes. The CSS classes have following name:
cmp_<filename>
This script requires ImageMagick ( http://imagemagick.org/ )
Copyright: by Amir Salihefendic ( http://amix.dk/ ) License: MIT
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| css_image_concat-1.2-py2.7.egg (md5) | Python Egg | 2.7 | 2012-02-20 | 3KB | 152 |
| css_image_concat-1.2.tar.gz (md5) | Source | 2012-02-20 | 2KB | 159 | |
- Author: amix
- Home Page: http://www.amix.dk/
- License: MIT
- Categories
- Package Index Owner: amix
- DOAP record: css_image_concat-1.2.xml
