SnippetsSnippets
svg1Clear
rsvg-convert input.svg \
  --width 2048 \
  --keep-aspect-ratio \
  --output output.png

Using imagemagick

magick -background none -density 600 input.svg -resize 2048x2048 output.png

For transparent backgrounds, SVG exports are transparent by default. To add a white background with ImageMagick:

magick -background white -density 600 input.svg -resize 2048x -alpha remove output.png