LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ksvgtopng5

converts SVG files to PNG format at a specified resolution

TLDR

Convert SVG to PNG
$ ksvgtopng5 [width] [height] [path/to/file.svg] [output.png]
copy

SYNOPSIS

ksvgtopng5 width height input.svg output.png

DESCRIPTION

ksvgtopng5 converts SVG (Scalable Vector Graphics) files to PNG (Portable Network Graphics) format at a specified resolution. It is part of the KDE CLI tools and uses Qt's SVG rendering.

PARAMETERS

width

Output image width in pixels
height
Output image height in pixels
input.svg
Path to input SVG file (should be absolute path)
output.png
Path for output PNG file

INSTALL

sudo apt install kde-cli-tools
copy
sudo dnf install kde-cli-tools
copy
sudo pacman -S kde-cli-tools
copy
sudo apk add kde-cli-tools
copy

CAVEATS

The SVG input path should be an absolute path for reliable operation. Complex SVG features may not render identically to web browsers.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid