#svg #ios #svg-icons #macos-ios

bin+lib svg2appicon

Convert svg to icons for iOS, macOS, and watchOS

3 releases

0.1.2 Aug 26, 2021
0.1.1 Aug 26, 2021
0.1.0 Aug 25, 2021

#175 in macOS and iOS APIs

22 downloads per month
Used in ribboned

MIT license

13KB
305 lines

svg2appicon

Convert svg image to icons for iOS, macOS, and watchOS

Usage

svg2appicon [OPTIONS] <APPICONSET>

OPTIONS:
        --ios <SVG_FILE>      Generate icons for iOS
        --mac <SVG_FILE>      Generate icons for macOS
        --watch <SVG_FILE>    Generate icons for watchOS

ARGS:
    <APPICONSET>    Path to .appiconset (e.g. /path/to/Assets.xcassets/AppIcon.appiconset)

Example

svg2appicon ~/Project/Project/Assets.xcassets/AppIcon.appiconset --ios ~/ios_icon.svg --mac ~/mac_icon.svg 

Install

cargo install svg2appicon

Dependencies

~6.5MB
~114K SLoC