ID:155104
 
I feel like this should be a fairly simple premise. However, I have had no luck setting a label's image from a dynamically created image, and have gone as far as copying the image to a file and attempting to use file() to retrieve it. I am obviously doing something wrong. Anyone have any suggestions?
var/img = [IMAGE]//replace [IMAGE] with your image (file, icon, ect.. With a file you would probably need to use file([YOUR FILE] if it isn't being included in the rsc with ''. I made this part more confusing than it has to be.).

var/rsc_copy = fcopy_rsc(img)
winset(src, "window.label", "image=\"\ref[rsc_copy]\"")
In response to ExPixel
I was close, but not quite there. Thank you very much.