title: What would be the dimensions if we convert the Bitmap to a 2D array?
body: <p>I have written a test program and loaded a PNG image into it,</p>
  
  <p><a href="https://dotnetfiddle.net/XHwp7o" rel="nofollow">https://dotnetfiddle.net/XHwp7o</a></p>
  
  <ul>
  <li>Pixel format = 32 bit color </li>
  <li>Resolution of the Bitmap, 
  
  <ul>
  <li>Width = 512 pixels</li>
  <li>Height = 512 pixels</li>
  </ul></li>
  <li>Stride of the Bitmap = 2048 pixels</li>
  <li>Offset or Padding = (Stride - Width) = (2048 - 512) = 1336 pixels.</li>
  <li>Size of the 1D byte array = 1048576 bytes</li>
  </ul>
  
  <p>What would be the dimensions if we convert the Bitmap to a 2D array?</p>