{"id":20743076,"url":"https://github.com/aimingoo/svg-provider","last_synced_at":"2025-07-21T16:33:49.280Z","repository":{"id":89039500,"uuid":"93379367","full_name":"aimingoo/svg-provider","owner":"aimingoo","description":"Svg convert provider, a  utility and/or for ImageMagick delegate(internal).","archived":false,"fork":false,"pushed_at":"2017-10-04T08:30:37.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-11T12:38:15.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aimingoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-05T07:54:45.000Z","updated_at":"2020-09-07T15:01:03.000Z","dependencies_parsed_at":"2023-03-13T18:14:59.967Z","dependency_job_id":null,"html_url":"https://github.com/aimingoo/svg-provider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aimingoo/svg-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fsvg-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fsvg-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fsvg-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fsvg-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimingoo","download_url":"https://codeload.github.com/aimingoo/svg-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimingoo%2Fsvg-provider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266334549,"owners_count":23913003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:08:59.848Z","updated_at":"2025-07-21T16:33:49.255Z","avatar_url":"https://github.com/aimingoo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svg-provider\n\nSvg convert provider for ImageMagick delegate(internal).\n\n\n\n## install\n\nClone the project and install it.\n\n```bash\n\u003e brew install aimingoo/repo/svg-provider\n\n# OR\n\u003e git clone https://github.com/aimingoo/svg-provider\n\u003e install svg-provider/svg-provider /usr/local/bin/\n\n# OR\n\u003e cp svg-provider/svg-provider /usr/local/bin/\n\u003e chmod +x /usr/local/bin/svg-provider\n```\n\n\n\n## usage\n\nYou can direct execute `svg-provider` in console without ImageMagick. A simple command line help for you:\n\n```bash\n\u003e svg-provider --help\n Svg convert provider for ImageMagick delegate(internal)\n Usage:\n\t\u003e svg-provider \u003ccommands\u003e\n\t  commands: --help, --version, --install, --uninstall, --info\n\t\u003e svg-provider \u003cfile.svg\u003e options ...\n\t  support: rsvg-convert cairosvg svg2png wasvg inkscape svgexport\n\t  options:\n\t    --force='%s'                      # force use a converter\n\t    --export-png='%s'                 # string - output file\n\t    --export-dpi='%s'                 # format - xRes,yRes\n\t    --export-background='%s'          # format - #ff007f, or rgb(r%,g%,b%)\n\t    --export-background-opacity='%s'  # number - 0.0 .. 1, or 2 .. 255\n Version: 1.0.2\n```\n\nOr, use `--install` or `--uninstall` to (un)install the tool for ImageMagick internal delegate list, and check it:\n\n```bash\n# show internal delegate information\n\u003e svg-provider --info\n  \u003cdelegate decode=\"svg:decode\" stealth=\"True\" command=\"\u0026quot;inkscape\u0026quot; ...\n\n# install\n\u003e svg-provider --install\n\n# OR, install and force to cairosvg\n\u003e svg-provider --install --force=cairosvg\n\n# OR, uninstall\n\u003e svg-provider --uninstall\n```\n\n\n\n## why?\n\nThe utility replace ImageMagick's internal delegate for `msvg:` format type, and redirect internal convert (.svg to .png) to your special configuration.\n\nRead these documents ([Chinese](https://aimingoo.github.io/1-1727.html)), if you want to know more.\n\n\n\n## History\n\n```\n2017.10.04 v1.0.2 released, implement --(un)install and --info\n2017.06.08 Initalization release\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimingoo%2Fsvg-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimingoo%2Fsvg-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimingoo%2Fsvg-provider/lists"}