Import and trace alpha

,

I’m developing a workflow for 2D image animation, to replace how I used to use After Effects with Blender.
So I’ve written a script that imports an image and traces the alpha channel to create a polygon the same shape as the outline of the alpha.
I want to add the ability to import multi-layer images or image sequences, but currently it seems to only work reliably with pngs (it uses OpenCV under the hood to do the tracing, I don’t know enough about it to deal with funky image formats yet).
Free to use and modify here: https://codeberg.org/stib/stibs_blender_scripts/src/branch/main/import_and_trace_alpha.py

1 Like