With this technique svg graphics scale up as you zoom in. It is dependent on JS because it uses onerror.
<img src="image.svg" onerror="this.src='image.png'; this.onerror=null;">