Improve page performance by combining image resources into a single browser request using css sprites. This tool, written in Clojure, will recursively concatenate all PNG images into a single sprite image, and generate the appropriate CSS styles to display those images correctly. Css-spriter allows either vertical or horizontal image layouts.
A List Apart has more information on css sprites.
If you don't want to build, use this prebuilt css-spriter-standalone.jar and refer to the Usage section.
requires leiningen
lein uberjar
java -jar css-spriter-standalone.jar [dir] [options]
:layout [:vertical :horizontal] - how the sprite's images are arranged
:png [dest file path] - destination of generated png
:css [dest file path] - destination of generated css
:output [:compact :verbose] - format of css
Only png files are supported.
Eclipse Public License 1.0