A script that can concat images into one image and create a CSS file
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file css_image_concat-2.5.tar.gz
.
File metadata
- Download URL: css_image_concat-2.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cb57633c780de8f214bbee958faec73d8f7b5a436044869df98b2b6556fe4c |
|
MD5 | ba62d8dbd1ed1b5c17bc51283d9bdaec |
|
BLAKE2b-256 | b0ebae6404c967bb4c19d22afb15ed4bb12bc384ac78b7650a6c5e6c5703ed1d |
File details
Details for the file css_image_concat-2.5-py2.7.egg
.
File metadata
- Download URL: css_image_concat-2.5-py2.7.egg
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8ab0266a3367ec85af70f0c035cb703dd8781704c0388dfbfc38bef7267b74 |
|
MD5 | 9fe2997efdd0914a8be32d0e5cbd971f |
|
BLAKE2b-256 | 8499d81d18825aa19a2e9ff0e7c13b67d172e9b4d0260fa630d1a628ce39b1aa |