C# example of JPEG_GRAY