I have a text stim of the text “Hello world”
text = "hello world"
text_stim = visual.TextStim(window, text= text, pos = (0,0) )
and I want to create a .png from the text_stim, so I will have something like that:
text_stim_as_png = text2png(text_stim)
And get the picture:

Is it possible?