How would I spray custom images using lua?

I mean like:
SetImage( “something/amazing.jpg” )

any ideas of spraying like this?

Are you looking to develop an addon that does this, or do you really just want an addon for it? It already exists.

[editline]17th December 2016[/editline]

here’s one I made

here’s one someone else made