Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 1.52 KB

index.rst

File metadata and controls

50 lines (40 loc) · 1.52 KB

Glue

Glue is a simple command line tool to generate sprites:

$ glue source output
  • Automatic Sprite (Image + Metadata) creation including:
    • css (less, scss)
    • cocos2d
    • json (array, hash)
    • CAAT
  • Automatic multi-dpi retina sprite creation.
  • Support for multi-sprite projects.
  • Create sprites from multiple folders (recursively).
  • Multiple algorithms available.
  • Automatic crop of unnecessary transparent borders around source images.
  • Configurable paddings and margin per image, sprite or project.
  • Watch option to keep glue running watching for file changes.
  • Project-, Sprite- and Image-level configuration via static config files.
  • Customizable output using jinja templates.
  • CSS: Optional .less/.scss output format.
  • CSS: Configurable cache busting for sprite images.
  • CSS: Customizable class names.

Documentation

.. toctree::
   :maxdepth: 2

   installation
   quickstart
   pseudoclasses
   ratios
   files
   templates
   options
   settings
   faq
   changelog

Indices and tables