title: Solid black image after converting bitmap to monochrome on .NET Compact Framework
body: <p>My goal is to take a picture using the camera on a Windows Mobile device and convert that image to a monochrome bitmap so it can print on a bluetooth printer using the .NET Compact Framework.  I found the answer I was looking for here:</p>
  
  <p><a href="https://stackoverflow.com/questions/1836632/convert-image-to-1-bpp-bitmap-in-net-compact-framework">Convert image to 1 bpp bitmap in .net compact framework</a></p>
  
  <p>When I added this code and tested with an image I took with the camera (.jpg file about 300K in size), I passed that image into the code from the code in the above stackoverflow solution and it completed with no errors.  When viewing the bitmap, it is a solid black image.</p>
  
  <p>Does the original bitmap passed into the code need to be a certain resolution or are there any other restrictions?  The original image taken with the camera was black and white to begin with.</p>