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.7.tar.gz
.
File metadata
- Download URL: css_image_concat-2.7.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b9dc9125af2bf542bbd46e0b37f8adddb94f94a97c03336ffe7bd64011bb412 |
|
MD5 | 2388cd9cc928cccd56f7833f62ddf3f2 |
|
BLAKE2b-256 | 7ae005d0a675f8352a0a5acae1753d9264fb2e5a6662cefafedd8d9be651af6f |
File details
Details for the file css_image_concat-2.7-py2.7.egg
.
File metadata
- Download URL: css_image_concat-2.7-py2.7.egg
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eae3174ec90c933f50c4b779957de22fd874044ba31f245a25dc4b3bfea12533 |
|
MD5 | e380c53a3b49efe13e3d0898c6a24007 |
|
BLAKE2b-256 | 372709df5724f197751170e20ffe81272a7ecd2444ae558e718d622331fc2ca5 |