All Projects → mapbox → Spritezero Cli

mapbox / Spritezero Cli

Licence: other
A command-line interface to spritezero.

Programming Languages

javascript
184084 projects - #8 most used programming language

npm version build status

spritezero-cli

A command-line interface to spritezero.

Installation

npm install -g @mapbox/spritezero-cli

Usage

spritezero [output filename] [input directory]

  --retina      shorthand for --ratio=2
  --ratio=[n]   pixel ratio
  --unique      map identical images to multiple names

Spritezero reads an input directory containing SVG files and generates a JSON layout file and PNG spritesheet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].