One of my previous posted was a Shiny App that converts PDF to PNG/JPEG formats; similarly this App converts SVG to PNG/PDF formats. Since SVG is a vector based format, you can convert it to PNG in ‘any’ resolutions; the higher the chosen number of pixels, the higher the resolution.
The App will indicate the source aspect ratio. Typical you would want the converted image to have this same aspect ratio. However you can choose a different aspect ratio of pixels. This will stretch or squash the output image.
Note: Printing a PNG image of 300dpi on A4 size is equivalent to selecting “3508 x 2480” pixels.