Create emoji favicon (PNG from SVG?)

In case you’re wondering what creating an SVG from a Hugo template looks like, here’s my SVG template:

<!-- favicon.svg -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
  <text y="13" font-size="13">{{ .Site.Params.faviconText }}</text>
</svg>

and here’s the code for the <head> of my site that calls the SVG template:

{{ $faviconTemplate := resources.Get "images/favicon-template.svg" -}}
{{ $favicon := $faviconTemplate | resources.Minify | resources.ExecuteAsTemplate "images/favicon.svg" . -}}
<link rel=icon type=image/svg+xml href={{ $favicon.Permalink }}>

Putting faviconText = "🚧" in the params in config.toml will then cause the construction sign emoji to be displayed as your favicon in Chrome and Firefox. (Sorry I don’t have a version of this site online yet for a live demo, I’ll work on that.)

I have also not been able to think of a way to do this for a PNG favicon, but I’m still a little disappointed in your one-word answer :wink: I saw a thread discussing tracing SVGs from raster images, am I crazy to think it might also be possible to go the other direction, making raster images from SVG?

If it is indeed impossible, are there any plausible features under consideration that could make it possible in the future?