Creates a grayscale image from the provided text string.
An Image object representing the created text image.
The width of the image.
The height of the image.
The text to render in the image.