svg support for image control --> created png files are not readable

I am using following control:

<dict>
	<key>id</key>
	<string>image</string>
	<key>type</key>
	<string>image</string>
	<key>title</key>
	<string>Image</string>
	<key>group</key>
	<string>Figure</string>
</dict>

Adding a SVG file into the image control renders a png file extension in preview/publish:

<img src="/site-assets/images/instacks-icon.png">

In the site-assets/images folder, png files are exported, but they are somehow corrupted. I've uploaded one of the exported png files here. Also previewing this site in MAMP shows this error. I don't know why it is display correct here in the GitLab issue, though.

CleanShot_2026-11-26_at_12.44.43

CleanShot_2026-11-26_at_12.45.10

CleanShot_2026-11-26_at_12.46.52

CleanShot_2026-11-26_at_12.48.39

instacks-icon-mono

Edited by jrondorf