title: I get the image reversed in C#
body: <p>this is my code to turn a byte[] array into an image</p>
  
  <pre><code>unsafe
  {
    //convert the UInt32[] into byte array and then assign the pointer to it
    fixed (byte* ptr = Misc.ConvertFromUInt32Array(image)) 
    {
      Bitmap bmp = new Bitmap(200,64,800,
        PixelFormat.Format32bppRgb,
        new IntPtr(ptr));
      bmp.Save("test.bmp");
    }
  }
  </code></pre>
  
  <p>And I get this:</p>
  
  <p><a href="http:////img11.imageshack.us/img11/4853/testacr.png" rel="nofollow noreferrer">alt text http:////img11.imageshack.us/img11/4853/testacr.png</a></p>
  
  <p>Where's the problem in the code,why that happens? How to flip it back to normal?</p>