title: Converting bitmap pixels as byte array fails
body: <p>I have to convert the pixels of a bitmap to short array. Therefore I want to:</p>
  
  <ul>
  <li>get the bytes</li>
  <li>convert the bytes to short</li>
  </ul>
  
  <p>This is my source to get the bytes:</p>
  
  <pre><code> public byte[] BitmapToByte(Bitmap source)
   {
       using (var memoryStream = new MemoryStream())
       {
           source.Save(memoryStream, System.Drawing.Imaging.ImageFormat.Bmp);
           return memoryStream.ToArray();
       }
   }
  </code></pre>
  
  <p>This is not returning the expected results. Is there another way to convert the data?</p>