Create and display bitmap images in GH canvas

Hi,

In my GH component I programmatically create bitmap images and display them (one at a time) to the user according to several parameters. Currently I map the images to a mesh and show it in Rhino.

Is there another (possibly more efficient) way of displaying a 2D image created programmatically in GH, through the GH canvas as a bitmap?
The image sampler might be an option if its input could be modified in code.
In this post there’s a similar question, but it seems in the end they map the image to a Rhino object as well.

Thanks,
Pablo

Follow link Bitmap+