Csssprite
A simple utility for merging images into a sprite with accompanying CSS
Install / Use
/learn @knadh/CssspriteREADME
csssprite
A simple Python utility for merging images into a sprite with accompanying CSS
- Kailash Nadh, June 2013
- License: GPL v2
- PyPi
Installation
With pip or easy_install
pip install csssprite or easy_install csssprite
or from source
python setup.py install
Usage
Once the package is installed, the commandline utility csssprite should become available system wide
csssprite --in "./images" --out "./"" --name "buttons"
Arguments
--in path to directory containing images
--out path to the directory where image+css should be generated
--name name of the output image and layer id in the css (default=sprite)
--orientation orientation of sprites. horizontal or vertical (default)
--spacing distance between individual tiles (default=30)
--filetype image filetype (default=png)
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
