Convert-SVG
1.2.0
This script converts SVG files to PNG or JPG format using Inkscape.
PNG format preserves transparency, while JPG format does not support transparency
but may result in smaller file sizes with white background.
It also supports the reverse conversion: PNG or JPG to SVG.
For PNG-to-SVG conversion, the PNG is embedded as base64 inside the SVG container,
preserving the o
PNG format preserves transparency, while JPG format does not support transparency
but may result in smaller file sizes with white background.
It also supports the reverse conversion: PNG or JPG to SVG.
For PNG-to-SVG conversion, the PNG is embedded as base64 inside the SVG container,
preserving the o
This script converts SVG files to PNG or JPG format using Inkscape.
PNG format preserves transparency, while JPG format does not support transparency
but may result in smaller file sizes with white background.
It also supports the reverse conversion: PNG or JPG to SVG.
For PNG-to-SVG conversion, the PNG is embedded as base64 inside the SVG container,
preserving the original image pixel-perfectly (including transparency for PNG files).
This conversion uses built-in .NET APIs (no external dependencies required),
with Inkscape as fallback.
Requires Inkscape to be installed on the system (for SVG-to-raster export).
Download from: https://inkscape.org/release/
Show more
PNG format preserves transparency, while JPG format does not support transparency
but may result in smaller file sizes with white background.
It also supports the reverse conversion: PNG or JPG to SVG.
For PNG-to-SVG conversion, the PNG is embedded as base64 inside the SVG container,
preserving the original image pixel-perfectly (including transparency for PNG files).
This conversion uses built-in .NET APIs (no external dependencies required),
with Inkscape as fallback.
Requires Inkscape to be installed on the system (for SVG-to-raster export).
Download from: https://inkscape.org/release/
Installation Options
Owners
Package Details
Author(s)
- Giovanni Solone
Tags
powershell inkscape images conversion svg png jpg
Functions
Convert-RasterToSvg Resolve-InkscapePath
Dependencies
This script has no dependencies.
FileList
- Convert-SVG.nuspec
- Convert-SVG.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.2.0 (current version) | 6 | 6/11/2026 |
| 1.0.0 | 37 | 10/2/2025 |