Create an Image from Matrix

How do I creatre an Image from a Matrix so I can display it in GrassHopper?

Like, I got a Matrix like this por example
[ 0 0 0 3
0 0 5 4
0 0 3 0
0 2 3 0 ].
I want to create an image in scale of greys, in which the higher the number the darker the color (or the higher the number the brighter, i dont really mind), and then represent this image in grasshopper.
Is there a simple way to do this?

you could use mesh to represent the color. Colors are on vertices.

colored (11.3 KB)

And surely better to work with Gradiant

And surely to better work with normalized value, so you can use Graph Mapper, because you can invert, augment contrast …

colored (8.9 KB)