Illustrator elements to TD

Hi all!

In recently days I have been looking for a solution in which all the images including circles, paths, opacity masks, everything.

For example, in a UI, have background, buttons and text box separetely…

I export a SVG with all artboards, and split it out into a XML DAT in TD, and it gives me x, y , height and weight of some objects I created in Illustrator, but I don´t know what is the next step to follow, I have been thinking on librsvg python library to convert all svg to png but I don´t know if it is the right way to approach what I want.

Cheers!