Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Release History

Release History

This version
History Node

2.7

History Node

2.6

History Node

2.5

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
css_image_concat-2.7-py2.7.egg (3.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Sep 9, 2015
css_image_concat-2.7.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Sep 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting