Skip to main content

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 files for css_image_concat 2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for css_image_concat 2.7
File Size Uploaded
css_image_concat-2.7.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for css_image_concat 2.7
File Interpreter ABI Platform
css_image_concat-2.7-py2.7.egg Legacy Egg format - - Details

Total release size: 7.2 kB

Release files / css_image_concat-2.7.tar.gz

Download URL css_image_concat-2.7.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8b9dc9125af2bf542bbd46e0b37f8adddb94f94a97c03336ffe7bd64011bb412
BLAKE2b-256 checksum
How to use checksums
7ae005d0a675f8352a0a5acae1753d9264fb2e5a6662cefafedd8d9be651af6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / css_image_concat-2.7-py2.7.egg

Download URL css_image_concat-2.7-py2.7.egg
Size 3.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
eae3174ec90c933f50c4b779957de22fd874044ba31f245a25dc4b3bfea12533
BLAKE2b-256 checksum
How to use checksums
372709df5724f197751170e20ffe81272a7ecd2444ae558e718d622331fc2ca5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.7 This release

2 release files

2.6

2 release files

2.5

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page