ksvgtopng5

Convert SVG files to PNG format. More information: <https://invent.kde.org/plasma/kde-cli-tools/-/blob/master/ksvgtopng/ksvgtopng.cpp>.

Install

All systems
curl cmd.cat/ksvgtopng5.sh
Debian Debian
apt-get install kde-cli-tools
Ubuntu
apt-get install kde-cli-tools
Arch Arch Linux
pacman -S kde-cli-tools
image/svg+xml Kali Linux
apt-get install kde-cli-tools
Fedora
dnf install kde-cli-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install kde-cli-tools
Raspbian
apt-get install kde-cli-tools

Convert SVG files to PNG format. More information: <https://invent.kde.org/plasma/kde-cli-tools/-/blob/master/ksvgtopng/ksvgtopng.cpp>.

  • Convert an SVG file (should be an absolute path) to PNG:
    ksvgtopng5 width height path/to/file.svg output_filename.png

© tl;dr; authors and contributors