title: how image is stored in a byte array
body: <p>How is an image internally stored in a byte array? While debugging in Visual Studio, I can see ASCII codes(I guess). But please someone explain it.</p>
  
  <p>Say, we have an image(BLOB) stored in a table. Fetching that BLOB into a dataTable in the code(in .net) as,</p>
  
  <pre><code>byte[] image = new image();
  DataTable dt = new DataTable();
  dt.Columns.Add("Image", typeof(byte[]));
  \\Consider the BLOB from the DB is fetched into DataTable Image column.
  image = dt[Row]["Image"];
  </code></pre>
  
  <p>Now, how is the BLOB internally stored in byte[] image?</p>
  
  <p>I've searched in the internet but couldn't find anything.</p>