Script to create simple type:picture material from grasshopper

Hello,
Is it possible to script a node which would have these inputs and output?

I:
1 Filepaths of bitmap images as diffuse texture
2 Names of materials
O:
Materials of picture type

I am buidling a script to automate title blocks driven from excel and i need to include some bitmap images as well (can be hundreds). only way which comes rational is to do it via picture type material assigned to a surface which is well recognized when exported to dwg. i tried import image node but it is not usable since it produces a mesh when baked.

Thank you

or even better.

the best would be to create objects exactly like with “picture” command in rhino where there is only file path for picture and two corners of rectangle neccessary

I have found something in this thread:

1 Like