The Greenfoot Programmers' Manual

This can be a blank image, an image from a file, or the default class image. To create a blank image, you need to pass the width and height of the desired image to the GreenfootImage constructor. The image will be completely transparent. GreenfootImage image = new GreenfootImage(60, 50); //Creates an image 60 pixels wide and 50 pixels high ................
................