There are plenty of online services that will do this for you (I don't recall which I've used to recommend), and they generally work but require quite a lot of post-processing, mostly removing potentially hundreds of extraneous points, unless it's all easy straight lines and simple curves.
Actually, I'll bet this would be a great place for AI to optimize.
Inkscape has a filter that's been pretty reliable at generating vectors from raster inputs.
IIRC, that is based on the utility potrace.
https://en.m.wikipedia.org/wiki/Potrace
potrace worked just fine for me when I needed to digitize some drawings that became a prominent part of a business's graphic design. Maybe a decade and a half ago.
Edit: I see now that Inkscape can do color by first decomposing into colors and then doing each of those separately.
Re:Update tinsel bunting
by RugnirViking on Wednesday December 20, 2023 @01:09PM
(#38711689)
Depends what you want; Inkscape does it well for some basic tasks involving images with few colours, I've often thought about how it could be achieved better for artistic pieces
Re:Update tinsel bunting
by infinityio on Wednesday December 20, 2023 @06:46PM
(#38715174)
I used a copy of (desktop) Vector Magic several years ago - it's almost certainly not worth the purchase price today (and better software may already exist), but it did very reliably get me a reasonably close SVG from an original image
Has anyone had any success with SVG generation from a clear raster image?