public static BufferedImage svg2image( String svgName, float scaleFactor ) {
		return svg2image( getResource( svgName ), scaleFactor );
	}
Creates a buffered image and renders the given SVG into it.
<p>
If using Java modules, the package containing the SVG must be opened in {@code module-info.java}.
Otherwise, use {@link #svg2image(URL, float)}.

@param svgName the name of the SVG resource (a '/'-separated path)
@param scaleFactor the amount by which the SVG size is scaled
@return the image
@throws RuntimeException if failed to load or render SVG file
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGUtils.java