Website Performance

CSS Sprite Generator Source Code

We've just released the source code for our CSS sprite generation tool on Launchpad. It's covered by a BSD license which allows both personal and commercial use. If you've got Bazaar installed you can checkout the remote branch. Alternatively you can download a tzr.gz of the files from the same location.

Checking out the release branch

Simply run bzr branch lp:css-sprite-generator from the command line.

CSS Sprite Generator

Our first tool is a CSS Sprite Generator. Upload a ZIP file containing individual images and it will return a combined image and all the CSS background-position rules required to display each component image. It accepts and can generate PNG, GIF and JPEGs and provides a range of options allowing you to tailor the output image and CSS to your site. We hope you find it useful and please contact us if you've got ideas about how to improve it.

Check out the CSS Sprite Generator

About Us

Ed Eliot

Ed likes his coffee as foamy as possible and lovingly crafts quality PHP whilst caring about best practices in CSS, HTML and JavaScript.

http://www.ejeliot.com/

Stuart Colville

Stu loves hacking on webapps with Python. If all else fails Stu could always get a job as a barista.

http://muffinresearch.co.uk/