I'm trying to write a script doing this:
- Render the current viewport with transparent background
- Add the rendered image as a background image in network editor
- Link the image to the currently selected node
Is it possible to fully automate this procedural?