title: How can I check the color depth of a Bitmap?
body: <p>I'm working on an application that prints a folder of image files, including JPEG and TIFF.  The TIFF images are usually Black and White (1bpp).</p>
  
  <p>After loading the image, I want to determine if the image is <strong>Color</strong> or <strong>B&amp;W</strong> or <strong>Grayscale</strong> so I can send the image to the right printer (color printer or black and white printer).</p>
  
  <p>I'm using the <code>Bitmap</code> constructor <code>image = new Bitmap(filename);</code> to load the image.</p>
  
  <p><strong>EDIT:</strong> The answer to check the pixel depth is great for B&amp;W.  Any ideas on checking if the image is grayscale without iterating through every pixel?</p>