Vectorize image (png to svg)

I am looking to let the user vectorize an image.

What would be the best way to go about doing this?

Use Javascript? It looks like there is no simple JS for this, but I am not sure.
Use a library? How does this work in Bubble, can I install or use libraries?
Use an API service?

I am looking to convert a bitmap/raster image (e g png) to a vector graphic (e g svg).
Simple black-and-white tracing to begin with.

If you have enough time , you can go for something like Imagetrace JS:
CDN: imagetracerjs CDN by jsDelivr - A CDN for npm and GitHub

if you don’t :

This topic was automatically closed after 70 days. New replies are no longer allowed.