title: ColorPalette of Bitmap has as Entries an array of length 0
body: <p>I'm trying to convert a Bitmap to an Icon and need to set the Bitmap's palette (See <a href="https://stackoverflow.com/questions/13917378/gethicon-from-a-16-color-bitmap-returns-an-image-with-less-colors">GetHicon from a 16 COLOR bitmap returns an image with less colors</a> ) . For that, I'm trying to follow <a href="https://stackoverflow.com/a/6012668/939213">this answer</a>:  but I see that the palette is empty, and I can't create a new array because I have to change the original one. (I even tried it anyway. It doesn't work.)</p>
  
  <p>I have:</p>
  
  <pre><code>ColorPalette palette = bitmap.Palette;
  Color[] entries = palette.Entries;
  </code></pre>
  
  <p>But <code>entries</code>'s length is Zero.</p>
  
  <p>So how do I change the ColorPalette?</p>