generate_image ([integer width, integer height]) ⇒ object
Creates a new image with the specified width and height. If these are not specified, it defaults to 100 by 100 pixels. As of version 1.6.4, the function now returns an image object. There is more information on what the image object is and how it works here.
This function was renamed as generate_image as of version 1.6.7, prior to this it was called image.