$szTitle = "6.5. Grayscale mode"; include "./_header.inc"; ?>
You can use the Grayscale command to convert your image to grayscale with 256 levels of gray, from 0 (black) to 255 (white).
You can access this command from the image menubar through Image ? Mode ? Grayscale.