boring-avatars-playground icon indicating copy to clipboard operation
boring-avatars-playground copied to clipboard

[FR] Allow PNG downloads

Open NightMachinery opened this issue 4 years ago • 2 comments

NightMachinery avatar May 28 '21 10:05 NightMachinery

+1 for this. After forking the demo, I was able to add support via a library that converts SVG to HTML5 canvas, then to PNG, but it looks like such utilities only support a subset of the SVG specification so I wasn't able to get gradients working properly.

You can find that work here. Perhaps someone with more knowledge will be able to figure this out; it's also possible that another image processing pipeline entirely is necessary to do this.

jakeisnt avatar May 31 '21 23:05 jakeisnt

+1 wanted to integrate it into a godot plugin. Unfortunately Godot being a game engine does not support loading SVGs at runtime.

PostPollux avatar Nov 04 '22 00:11 PostPollux