https://github.com/aimingoo/svg-provider
Svg convert provider, a utility and/or for ImageMagick delegate(internal).
https://github.com/aimingoo/svg-provider
Last synced: about 1 year ago
JSON representation
Svg convert provider, a utility and/or for ImageMagick delegate(internal).
- Host: GitHub
- URL: https://github.com/aimingoo/svg-provider
- Owner: aimingoo
- Created: 2017-06-05T07:54:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T08:30:37.000Z (almost 9 years ago)
- Last Synced: 2025-03-11T12:38:15.176Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# svg-provider
Svg convert provider for ImageMagick delegate(internal).
## install
Clone the project and install it.
```bash
> brew install aimingoo/repo/svg-provider
# OR
> git clone https://github.com/aimingoo/svg-provider
> install svg-provider/svg-provider /usr/local/bin/
# OR
> cp svg-provider/svg-provider /usr/local/bin/
> chmod +x /usr/local/bin/svg-provider
```
## usage
You can direct execute `svg-provider` in console without ImageMagick. A simple command line help for you:
```bash
> svg-provider --help
Svg convert provider for ImageMagick delegate(internal)
Usage:
> svg-provider
commands: --help, --version, --install, --uninstall, --info
> svg-provider options ...
support: rsvg-convert cairosvg svg2png wasvg inkscape svgexport
options:
--force='%s' # force use a converter
--export-png='%s' # string - output file
--export-dpi='%s' # format - xRes,yRes
--export-background='%s' # format - #ff007f, or rgb(r%,g%,b%)
--export-background-opacity='%s' # number - 0.0 .. 1, or 2 .. 255
Version: 1.0.2
```
Or, use `--install` or `--uninstall` to (un)install the tool for ImageMagick internal delegate list, and check it:
```bash
# show internal delegate information
> svg-provider --info