Skip to content

A command-line interface to spritezero.

License

Notifications You must be signed in to change notification settings

mapbox/spritezero-cli

Repository files navigation

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.

About

A command-line interface to spritezero.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •