├── .eslintrc
├── .gitignore
├── .npmignore
├── .travis.yml
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── LICENSE.md
├── README.md
├── RELEASE.md
├── bin
└── spritezero
├── package.json
└── test
├── fixture
├── input
│ ├── .DS_Store
│ ├── aerialway-12.svg
│ ├── aerialway-18.svg
│ ├── aerialway-24.svg
│ ├── airfield-12.svg
│ ├── airfield-18.svg
│ ├── airfield-24.svg
│ ├── airport-12.svg
│ ├── airport-18.svg
│ ├── airport-24.svg
│ ├── alcohol-shop-12.svg
│ ├── alcohol-shop-18.svg
│ ├── alcohol-shop-24.svg
│ ├── america-football-12.svg
│ ├── america-football-18.svg
│ ├── america-football-24.svg
│ ├── art-gallery-12.svg
│ ├── art-gallery-18.svg
│ ├── art-gallery-24.svg
│ ├── bakery-12.svg
│ ├── bakery-18.svg
│ ├── bakery-24.svg
│ ├── bank-12.svg
│ ├── bank-18.svg
│ ├── bank-24.svg
│ ├── bar-12.svg
│ ├── bar-18.svg
│ ├── bar-24.svg
│ ├── baseball-12.svg
│ ├── baseball-18.svg
│ ├── baseball-24.svg
│ ├── basketball-12.svg
│ ├── basketball-18.svg
│ ├── basketball-24.svg
│ ├── beer-12.svg
│ ├── beer-18.svg
│ ├── beer-24.svg
│ ├── bicycle-12.svg
│ ├── bicycle-18.svg
│ ├── bicycle-24.svg
│ ├── building-12.svg
│ ├── building-18.svg
│ ├── building-24.svg
│ ├── bus-12.svg
│ ├── bus-18.svg
│ ├── bus-24.svg
│ ├── cafe-12.svg
│ ├── cafe-18.svg
│ ├── cafe-24.svg
│ ├── camera-12.svg
│ ├── camera-18.svg
│ ├── camera-24.svg
│ ├── campsite-12.svg
│ ├── campsite-18.svg
│ ├── campsite-24.svg
│ ├── car-12.svg
│ ├── car-18.svg
│ ├── car-24.svg
│ ├── cemetery-12.svg
│ ├── cemetery-18.svg
│ ├── cemetery-24.svg
│ ├── chemist-12.svg
│ ├── chemist-18.svg
│ ├── chemist-24.svg
│ ├── cinema-12.svg
│ ├── cinema-18.svg
│ ├── cinema-24.svg
│ ├── circle-12.svg
│ ├── circle-18.svg
│ ├── circle-24.svg
│ ├── circle-stroked-12.svg
│ ├── circle-stroked-18.svg
│ ├── circle-stroked-24.svg
│ ├── city-12.svg
│ ├── city-18.svg
│ ├── city-24.svg
│ ├── clothing-store-12.svg
│ ├── clothing-store-18.svg
│ ├── clothing-store-24.svg
│ ├── college-12.svg
│ ├── college-18.svg
│ ├── college-24.svg
│ ├── commercial-12.svg
│ ├── commercial-18.svg
│ ├── commercial-24.svg
│ ├── cricket-12.svg
│ ├── cricket-18.svg
│ ├── cricket-24.svg
│ ├── cross-12.svg
│ ├── cross-18.svg
│ ├── cross-24.svg
│ ├── dam-12.svg
│ ├── dam-18.svg
│ ├── dam-24.svg
│ ├── danger-12.svg
│ ├── danger-18.svg
│ ├── danger-24.svg
│ ├── dentist-12.svg
│ ├── dentist-18.svg
│ ├── dentist-24.svg
│ ├── disability-12.svg
│ ├── disability-18.svg
│ ├── disability-24.svg
│ ├── dog-park-12.svg
│ ├── dog-park-18.svg
│ ├── dog-park-24.svg
│ ├── embassy-12.svg
│ ├── embassy-18.svg
│ ├── embassy-24.svg
│ ├── emergency-telephone-12.svg
│ ├── emergency-telephone-18.svg
│ ├── emergency-telephone-24.svg
│ ├── entrance-12.svg
│ ├── entrance-18.svg
│ ├── entrance-24.svg
│ ├── farm-12.svg
│ ├── farm-18.svg
│ ├── farm-24.svg
│ ├── fast-food-12.svg
│ ├── fast-food-18.svg
│ ├── fast-food-24.svg
│ ├── ferry-12.svg
│ ├── ferry-18.svg
│ ├── ferry-24.svg
│ ├── fire-station-12.svg
│ ├── fire-station-18.svg
│ ├── fire-station-24.svg
│ ├── fuel-12.svg
│ ├── fuel-18.svg
│ ├── fuel-24.svg
│ ├── garden-12.svg
│ ├── garden-18.svg
│ ├── garden-24.svg
│ ├── gift-12.svg
│ ├── gift-18.svg
│ ├── gift-24.svg
│ ├── golf-12.svg
│ ├── golf-18.svg
│ ├── golf-24.svg
│ ├── grocery-12.svg
│ ├── grocery-18.svg
│ ├── grocery-24.svg
│ ├── hairdresser-12.svg
│ ├── hairdresser-18.svg
│ ├── hairdresser-24.svg
│ ├── harbor-12.svg
│ ├── harbor-18.svg
│ ├── harbor-24.svg
│ ├── heart-12.svg
│ ├── heart-18.svg
│ ├── heart-24.svg
│ ├── heliport-12.svg
│ ├── heliport-18.svg
│ ├── heliport-24.svg
│ ├── hospital-12.svg
│ ├── hospital-18.svg
│ ├── hospital-24.svg
│ ├── ice-cream-12.svg
│ ├── ice-cream-18.svg
│ ├── ice-cream-24.svg
│ ├── industrial-12.svg
│ ├── industrial-18.svg
│ ├── industrial-24.svg
│ ├── land-use-12.svg
│ ├── land-use-18.svg
│ ├── land-use-24.svg
│ ├── laundry-12.svg
│ ├── laundry-18.svg
│ ├── laundry-24.svg
│ ├── library-12.svg
│ ├── library-18.svg
│ ├── library-24.svg
│ ├── lighthouse-12.svg
│ ├── lighthouse-18.svg
│ ├── lighthouse-24.svg
│ ├── lodging-12.svg
│ ├── lodging-18.svg
│ ├── lodging-24.svg
│ ├── logging-12.svg
│ ├── logging-18.svg
│ ├── logging-24.svg
│ ├── london-underground-12.svg
│ ├── london-underground-18.svg
│ ├── london-underground-24.svg
│ ├── maki-12-base.svg
│ ├── maki-18-base.svg
│ ├── maki-24-base.svg
│ ├── maki-icons.svg
│ ├── marker-12.svg
│ ├── marker-18.svg
│ ├── marker-24.svg
│ ├── marker-stroked-12.svg
│ ├── marker-stroked-18.svg
│ ├── marker-stroked-24.svg
│ ├── minefield-12.svg
│ ├── minefield-18.svg
│ ├── minefield-24.svg
│ ├── mobilephone-12.svg
│ ├── mobilephone-18.svg
│ ├── mobilephone-24.svg
│ ├── monument-12.svg
│ ├── monument-18.svg
│ ├── monument-24.svg
│ ├── museum-12.svg
│ ├── museum-18.svg
│ ├── museum-24.svg
│ ├── music-12.svg
│ ├── music-18.svg
│ ├── music-24.svg
│ ├── oil-well-12.svg
│ ├── oil-well-18.svg
│ ├── oil-well-24.svg
│ ├── park-12.svg
│ ├── park-18.svg
│ ├── park-24.svg
│ ├── park2-12.svg
│ ├── park2-18.svg
│ ├── park2-24.svg
│ ├── parking-12.svg
│ ├── parking-18.svg
│ ├── parking-24.svg
│ ├── parking-garage-12.svg
│ ├── parking-garage-18.svg
│ ├── parking-garage-24.svg
│ ├── pharmacy-12.svg
│ ├── pharmacy-18.svg
│ ├── pharmacy-24.svg
│ ├── pitch-12.svg
│ ├── pitch-18.svg
│ ├── pitch-24.svg
│ ├── place-of-worship-12.svg
│ ├── place-of-worship-18.svg
│ ├── place-of-worship-24.svg
│ ├── playground-12.svg
│ ├── playground-18.svg
│ ├── playground-24.svg
│ ├── police-12.svg
│ ├── police-18.svg
│ ├── police-24.svg
│ ├── polling-place-12.svg
│ ├── polling-place-18.svg
│ ├── polling-place-24.svg
│ ├── post-12.svg
│ ├── post-18.svg
│ ├── post-24.svg
│ ├── prison-12.svg
│ ├── prison-18.svg
│ ├── prison-24.svg
│ ├── rail-12.svg
│ ├── rail-18.svg
│ ├── rail-24.svg
│ ├── rail-above-12.svg
│ ├── rail-above-18.svg
│ ├── rail-above-24.svg
│ ├── rail-light-12.svg
│ ├── rail-light-18.svg
│ ├── rail-light-24.svg
│ ├── rail-metro-12.svg
│ ├── rail-metro-18.svg
│ ├── rail-metro-24.svg
│ ├── rail-underground-12.svg
│ ├── rail-underground-18.svg
│ ├── rail-underground-24.svg
│ ├── religious-christian-12.svg
│ ├── religious-christian-18.svg
│ ├── religious-christian-24.svg
│ ├── religious-jewish-12.svg
│ ├── religious-jewish-18.svg
│ ├── religious-jewish-24.svg
│ ├── religious-muslim-12.svg
│ ├── religious-muslim-18.svg
│ ├── religious-muslim-24.svg
│ ├── restaurant-12.svg
│ ├── restaurant-18.svg
│ ├── restaurant-24.svg
│ ├── roadblock-12.svg
│ ├── roadblock-18.svg
│ ├── roadblock-24.svg
│ ├── rocket-12.svg
│ ├── rocket-18.svg
│ ├── rocket-24.svg
│ ├── sample.svg
│ ├── school-12.svg
│ ├── school-18.svg
│ ├── school-24.svg
│ ├── scooter-12.svg
│ ├── scooter-18.svg
│ ├── scooter-24.svg
│ ├── shop-12.svg
│ ├── shop-18.svg
│ ├── shop-24.svg
│ ├── skiing-12.svg
│ ├── skiing-18.svg
│ ├── skiing-24.svg
│ ├── slaughterhouse-12.svg
│ ├── slaughterhouse-18.svg
│ ├── slaughterhouse-24.svg
│ ├── soccer-12.svg
│ ├── soccer-18.svg
│ ├── soccer-24.svg
│ ├── square-12.svg
│ ├── square-18.svg
│ ├── square-24.svg
│ ├── square-stroked-12.svg
│ ├── square-stroked-18.svg
│ ├── square-stroked-24.svg
│ ├── star-12.svg
│ ├── star-18.svg
│ ├── star-24.svg
│ ├── star-stroked-12.svg
│ ├── star-stroked-18.svg
│ ├── star-stroked-24.svg
│ ├── suitcase-12.svg
│ ├── suitcase-18.svg
│ ├── suitcase-24.svg
│ ├── swimming-12.svg
│ ├── swimming-18.svg
│ ├── swimming-24.svg
│ ├── telephone-12.svg
│ ├── telephone-18.svg
│ ├── telephone-24.svg
│ ├── tennis-12.svg
│ ├── tennis-18.svg
│ ├── tennis-24.svg
│ ├── theatre-12.svg
│ ├── theatre-18.svg
│ ├── theatre-24.svg
│ ├── toilets-12.svg
│ ├── toilets-18.svg
│ ├── toilets-24.svg
│ ├── town-12.svg
│ ├── town-18.svg
│ ├── town-24.svg
│ ├── town-hall-12.svg
│ ├── town-hall-18.svg
│ ├── town-hall-24.svg
│ ├── triangle-12.svg
│ ├── triangle-18.svg
│ ├── triangle-24.svg
│ ├── triangle-stroked-12.svg
│ ├── triangle-stroked-18.svg
│ ├── triangle-stroked-24.svg
│ ├── unique-24-copy.svg
│ ├── unique-24.svg
│ ├── village-12.svg
│ ├── village-18.svg
│ ├── village-24.svg
│ ├── warehouse-12.svg
│ ├── warehouse-18.svg
│ ├── warehouse-24.svg
│ ├── waste-basket-12.svg
│ ├── waste-basket-18.svg
│ ├── waste-basket-24.svg
│ ├── water-12.svg
│ ├── water-18.svg
│ ├── water-24.svg
│ ├── wetland-12.svg
│ ├── wetland-18.svg
│ ├── wetland-24.svg
│ ├── zoo-12.svg
│ ├── zoo-18.svg
│ └── zoo-24.svg
└── output
│ ├── maki-r-2.json
│ ├── maki-r-2.png
│ ├── maki-unique.json
│ ├── maki-unique.png
│ ├── maki.json
│ └── maki.png
├── output
├── maki-r-2.json
├── maki-r-2.png
├── maki-retina.json
├── maki-retina.png
├── maki-unique.json
├── maki-unique.png
├── maki.json
└── maki.png
└── test.js
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "node": true
4 | },
5 | "extends": [
6 | "eslint:recommended"
7 | ],
8 | "rules": {
9 | "dot-notation": "error",
10 | "eqeqeq": ["error", "smart"],
11 | "indent": ["off", 4],
12 | "keyword-spacing": "error",
13 | "linebreak-style": ["error", "unix"],
14 | "no-console": "off",
15 | "no-caller": "error",
16 | "no-catch-shadow": "error",
17 | "no-div-regex": "error",
18 | "no-extend-native": "error",
19 | "no-extra-bind": "error",
20 | "no-floating-decimal": "error",
21 | "no-implied-eval": "error",
22 | "no-invalid-this": "error",
23 | "no-iterator": "error",
24 | "no-labels": "error",
25 | "no-label-var": "error",
26 | "no-lone-blocks": "error",
27 | "no-loop-func": "error",
28 | "no-multi-str": "error",
29 | "no-native-reassign": "error",
30 | "no-new": "error",
31 | "no-new-func": "error",
32 | "no-new-wrappers": "error",
33 | "no-octal": "error",
34 | "no-octal-escape": "error",
35 | "no-process-env": "error",
36 | "no-proto": "error",
37 | "no-return-assign": "off",
38 | "no-script-url": "error",
39 | "no-self-compare": "error",
40 | "no-sequences": "error",
41 | "no-shadow": "off",
42 | "no-shadow-restricted-names": "error",
43 | "no-throw-literal": "error",
44 | "no-unneeded-ternary": "error",
45 | "no-unused-expressions": "error",
46 | "no-unexpected-multiline": "error",
47 | "no-unused-vars": "warn",
48 | "no-void": "error",
49 | "no-warning-comments": "warn",
50 | "no-with": "error",
51 | "no-use-before-define": ["off", "nofunc"],
52 | "semi": ["error", "always"],
53 | "semi-spacing": "error",
54 | "space-unary-ops": "error",
55 | "wrap-regex": "off",
56 | "quotes": ["error", "single"]
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .nyc_output
3 | coverage/
4 | node_modules/
5 | npm-debug.log
6 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .nyc_output
3 | .travis.yml
4 | coverage/
5 | node_modules/
6 | npm-debug.log
7 | RELEASE.md
8 | test/
9 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | sudo: false
3 | node_js:
4 | - '4'
5 | - '6'
6 | env:
7 | - CXX=g++-4.8
8 | addons:
9 | apt:
10 | sources:
11 | - ubuntu-toolchain-r-test
12 | packages:
13 | - g++-4.8
14 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | :warning: = breaking change
2 |
3 | ## 2.1.0
4 | ##### 2017-jun-17
5 | * Update to spritezero 5.0.0
6 |
7 | ## 2.0.0
8 | ##### 2017-feb-13
9 | * Update to spritezero 4.0.0
10 | * :warning: spritezero-cli now a scoped package under @mapbox namespace
11 |
12 | ## 1.2.0
13 | ##### 2016-sep-15
14 | * Update to spritezero 3.8.0
15 | * Switch spritezero from ^carat to ~tilde dependency
16 |
17 | ## 1.1.2
18 | ##### 2016-aug-13
19 | * Retain spritezero 3.7.0 but switch to ~tilde patch dependency
20 |
21 | ## 1.1.1
22 | ##### 2016-aug-13
23 | * Update to spritezero 3.7.0
24 |
25 | ## 1.1.0
26 | ##### 2016-jun-10
27 | * Add `--unique` option
28 |
29 | ## 1.0.2
30 | ##### 2015-oct-15
31 | * Add test avoidance of hidden files
32 |
33 | ## 1.0.1
34 | ##### 2015-sep-04
35 | * Update to spritezero 3.0.0
36 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Code of Conduct
2 |
3 | #### Guidelines
4 |
5 | * Please be respectful to one another.
6 | * Many contributors are volunteering their time. We might not get to your
7 | issue right away. Be patient.
8 | * Other contributors have different backgrounds and perspectives than you do.
9 | Diversity is a community strength.
10 | * We will disagree sometimes. That's ok. When this happens, assume that the
11 | person with whom you disagree is a smart person with good reasons for believing
12 | something different.
13 | * Everyone has bad days. If you find yourself about to be mean to someone,
14 | take a break and cool off. This project will still be here later.
15 | * When you make a mistake, apologize.
16 |
17 |
18 | #### We will not tolerate
19 |
20 | * Sexualized language or imagery
21 | * Hate speech
22 | * Personal attacks
23 | * Trolling or insulting/derogatory comments
24 | * Public or private harassment
25 | * Publishing other's private information
26 | * Plagiarism
27 | * Other unethical or unprofessional conduct
28 |
29 | #### Enforcement
30 |
31 | Project maintainers commit themselves to fairly enforcing this Code of Conduct.
32 | This means we may:
33 |
34 | * Edit or delete harmful comments, code, issues, or other contributions
35 | * Ban harmful users from the project, temporarily or permanently
36 |
37 | This Code of Conduct applies both within project spaces and in public spaces when an
38 | individual is representing the project or its community.
39 |
40 | Instances of unacceptable behavior may be reported privately to the project maintainers.
41 |
42 | #### See Also
43 |
44 | This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org).
45 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Internet Systems Consortium license
2 | ===================================
3 |
4 | Copyright (c) 2016, Mapbox
5 |
6 | Permission to use, copy, modify, and/or distribute this software for any purpose
7 | with or without fee is hereby granted, provided that the above copyright notice
8 | and this permission notice appear in all copies.
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
12 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
14 | OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15 | TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
16 | THIS SOFTWARE.
17 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://badge.fury.io/js/%40mapbox%2Fspritezero-cli)
2 | [](http://travis-ci.org/mapbox/spritezero-cli)
3 |
4 | # spritezero-cli
5 |
6 | A command-line interface to [spritezero](https://github.com/mapbox/spritezero).
7 |
8 | ## Installation
9 |
10 | npm install -g @mapbox/spritezero-cli
11 |
12 | ## Usage
13 |
14 | spritezero [output filename] [input directory]
15 |
16 | --retina shorthand for --ratio=2
17 | --ratio=[n] pixel ratio
18 | --unique map identical images to multiple names
19 |
20 | Spritezero reads an input directory containing SVG files and generates a JSON
21 | layout file and PNG spritesheet.
22 |
--------------------------------------------------------------------------------
/RELEASE.md:
--------------------------------------------------------------------------------
1 | ## Release Checklist
2 |
3 | #### Update version, docs, tag, and publish
4 | - [ ] git checkout master
5 | - [ ] npm install
6 | - [ ] npm run test
7 | - [ ] Update CHANGELOG
8 | - [ ] Update version number in `package.json`
9 | - [ ] git add .
10 | - [ ] git commit -m 'vA.B.C'
11 | - [ ] git tag vA.B.C
12 | - [ ] git push origin master vA.B.C
13 | - [ ] npm publish
14 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@mapbox/spritezero-cli",
3 | "version": "2.1.0",
4 | "main": "index.js",
5 | "description": "a command-line interface for spritezero generation of raster sprites from SVG input",
6 | "author": "Tom MacWright",
7 | "license": "ISC",
8 | "repository": "mapbox/spritezero-cli",
9 | "bugs": "https://github.com/mapbox/spritezero-cli/issues",
10 | "bin": {
11 | "spritezero": "bin/spritezero"
12 | },
13 | "keywords": [
14 | "sprite",
15 | "spritezero",
16 | "svg",
17 | "vector"
18 | ],
19 | "dependencies": {
20 | "minimist": "^1.2.0",
21 | "multiline": "^1.0.2",
22 | "queue-async": "^1.2.1",
23 | "json-stable-stringify": "^1.0.1",
24 | "@mapbox/spritezero": "~5.0.0"
25 | },
26 | "devDependencies": {
27 | "eslint": "^4.0.0",
28 | "tap": "^10.1.0"
29 | },
30 | "engines": {
31 | "node": ">=4.0.0"
32 | },
33 | "scripts": {
34 | "lint": "eslint bin/spritezero test/",
35 | "test": "npm run lint && tap test/test.js"
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/test/fixture/input/.DS_Store:
--------------------------------------------------------------------------------
1 | keep this file: this is to test the DS_Store avoidance
2 |
--------------------------------------------------------------------------------
/test/fixture/input/aerialway-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
26 |
--------------------------------------------------------------------------------
/test/fixture/input/aerialway-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
26 |
--------------------------------------------------------------------------------
/test/fixture/input/airport-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/airport-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/alcohol-shop-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
57 |
--------------------------------------------------------------------------------
/test/fixture/input/bakery-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
55 |
--------------------------------------------------------------------------------
/test/fixture/input/beer-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/beer-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/building-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/building-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/bus-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/camera-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/camera-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/camera-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/cemetery-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/cemetery-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/chemist-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
53 |
--------------------------------------------------------------------------------
/test/fixture/input/chemist-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/chemist-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
53 |
--------------------------------------------------------------------------------
/test/fixture/input/circle-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/circle-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
57 |
--------------------------------------------------------------------------------
/test/fixture/input/clothing-store-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
57 |
--------------------------------------------------------------------------------
/test/fixture/input/clothing-store-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/college-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/commercial-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
57 |
--------------------------------------------------------------------------------
/test/fixture/input/dentist-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
21 |
--------------------------------------------------------------------------------
/test/fixture/input/dentist-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
21 |
--------------------------------------------------------------------------------
/test/fixture/input/dentist-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
21 |
--------------------------------------------------------------------------------
/test/fixture/input/dog-park-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
42 |
--------------------------------------------------------------------------------
/test/fixture/input/dog-park-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
42 |
--------------------------------------------------------------------------------
/test/fixture/input/embassy-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/embassy-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/emergency-telephone-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
62 |
--------------------------------------------------------------------------------
/test/fixture/input/entrance-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
50 |
--------------------------------------------------------------------------------
/test/fixture/input/entrance-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/farm-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
58 |
--------------------------------------------------------------------------------
/test/fixture/input/farm-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/fire-station-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/fire-station-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/fire-station-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/laundry-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/library-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/lighthouse-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/lighthouse-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/lighthouse-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/logging-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/marker-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/marker-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/mobilephone-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/mobilephone-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/park-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/park-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/place-of-worship-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/place-of-worship-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/post-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-light-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-metro-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-metro-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/rail-metro-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/religious-christian-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/religious-christian-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/religious-jewish-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/religious-jewish-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/religious-jewish-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/roadblock-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/roadblock-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/roadblock-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/rocket-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/rocket-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/sample.svg:
--------------------------------------------------------------------------------
1 |
2 |
28 |
--------------------------------------------------------------------------------
/test/fixture/input/scooter-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
--------------------------------------------------------------------------------
/test/fixture/input/square-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
66 |
--------------------------------------------------------------------------------
/test/fixture/input/square-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
64 |
--------------------------------------------------------------------------------
/test/fixture/input/star-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
60 |
--------------------------------------------------------------------------------
/test/fixture/input/star-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
59 |
--------------------------------------------------------------------------------
/test/fixture/input/suitcase-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/suitcase-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/suitcase-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/test/fixture/input/telephone-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/town-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/town-hall-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/town-hall-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
44 |
--------------------------------------------------------------------------------
/test/fixture/input/unique-24-copy.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
70 |
--------------------------------------------------------------------------------
/test/fixture/input/unique-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
70 |
--------------------------------------------------------------------------------
/test/fixture/input/village-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/village-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
57 |
--------------------------------------------------------------------------------
/test/fixture/input/warehouse-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/warehouse-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/waste-basket-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/water-12.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/water-18.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/input/water-24.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
56 |
--------------------------------------------------------------------------------
/test/fixture/output/maki-r-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/fixture/output/maki-r-2.png
--------------------------------------------------------------------------------
/test/fixture/output/maki-unique.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/fixture/output/maki-unique.png
--------------------------------------------------------------------------------
/test/fixture/output/maki.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/fixture/output/maki.png
--------------------------------------------------------------------------------
/test/output/maki-r-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/output/maki-r-2.png
--------------------------------------------------------------------------------
/test/output/maki-retina.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/output/maki-retina.png
--------------------------------------------------------------------------------
/test/output/maki-unique.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/output/maki-unique.png
--------------------------------------------------------------------------------
/test/output/maki.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mapbox/spritezero-cli/92e37711cf8612fd80ebb6d4aa7db92ede9c1ac9/test/output/maki.png
--------------------------------------------------------------------------------