{"repo":"flother/spreet","free":true,"listed":false,"github":"https://github.com/flother/spreet","clone":"git clone https://github.com/flother/spreet.git","description":"Create a spritesheet from a set of SVG images","language":"Rust","stars":188,"topics":["rust-lang","maplibre","cli","cartography","mapbox-gl-js","maplibre-gl-js"],"license":"MIT","category":"cli-tools","readme_excerpt":"Spreet: create spritesheets from SVGs Spreet is a command-line tool that creates a spritesheet (aka texture atlas) from a directory of SVG and SVGZ images. You'll need this when you create MapLibre or Mapbox vector web maps, where cartographic stylesheets require that icons be loaded from a spritesheet. Compared to other tools for creating spritesheets from SVGs, Spreet: - outputs smaller spritesheets (both fewer pixels and fewer bytes) - is a self-contained 2.2 MB binary - is faster Spreet (also spreit , spret , sprit ) is the Scots word for a sprite, the fairy-like creature from Western folklore. Table of contents - Installation - Tutorial - Command-line usage - Using Spreet as a Rust library - Benchmarks Installation You can install Spreet using Homebrew, cargo install , by downloading pre-built binaries, or by building from source. Homebrew If you use Homebrew on MacOS or Linux you can install Spreet from the command-line: (You can review the code run by the formula before you install.) Installing from crates.io ( cargo install ) Rust's cargo install command lets you install a binary crate locally. You can install the latest published version of Spreet with: Download pre-built binaries Pre-built binaries are provided for MacOS, Linux, and Windows. The MacOS and Linux binaries are built for both Intel and ARM CPUs. Visit the releases page to download the latest version of Spreet. Using via Docker If you have Docker installed, you can run Spreet without installing it locall","default_branch":null,"files":null,"tree":[],"storefront":"/r/flother","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flother/spreet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}