Skip to main content

svg2png-cli

PyPI

Tiny CLI to convert SVG to PNG. Wraps resvg-py (pure Rust, no native Cairo/Inkscape dependency — the reason cairosvg fails out of the box on Windows).

Install

pip install svg2png-cli

Or straight from GitHub / editable mode:

pip install git+https://github.com/jeffersongoncalves/svg2png-cli.git

Usage

svg2png banner.svg                     # writes banner.png next to it
svg2png banner.svg out.png             # explicit output path
svg2png banner.svg out.png --width 1200 --height 630

Exits non-zero with an error message if the input file doesn't exist.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svg2png_cli-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

svg2png_cli-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file svg2png_cli-0.1.1.tar.gz.

File metadata

  • Download URL: svg2png_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for svg2png_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2ace43aae29d7057271907a217a297a4627b4d8709e7b6e2631ed81e63b49c1b
MD5 015e7b9b833d4d3b428dd57b0d93736c
BLAKE2b-256 b8466553f96a5cce34352b64bf1ecf6e6c2ba2c16174506c39dbcee4565eacb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for svg2png_cli-0.1.1.tar.gz:

Publisher: publish.yml on jeffersongoncalves/svg2png-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file svg2png_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: svg2png_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for svg2png_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c85682976581f5934f694fa1caa2a77fc6477c157e2e1e5708cca1ef413599bd
MD5 ac337f5c3c2414c8862045c79565706b
BLAKE2b-256 5f623da570b0e1e74b39625f405ac154fb0cbd47085d99b9f58dd094c91cfaa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for svg2png_cli-0.1.1-py3-none-any.whl:

Publisher: publish.yml on jeffersongoncalves/svg2png-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page