An SVG is drawn fresh at the size you ask for, so a 24 pixel icon comes out just as sharp at 2000 pixels. PNG keeps the transparent parts; JPG gets a white background, since it has no transparency. The file is drawn the way a browser shows an image, so any script inside it does not run and nothing it links to is fetched.