Converts color bitmaps into grayscale bitmaps.
grayscale [directory]
Options:
directory: If present indicates the directory where images to be converted are found. Converted images are placed in the same directory using a naming convention, e.g. foo.png will be called foo.gray.png after conversion.
The source code is c# using Visual Studio 2010.