title: How do I reliably get an image dimensions in .NET without loading the image?
body: <p>I know how to get the size (x,y) of an image</p>
  <pre><code>Image.FromFile(&quot;cat.jpg&quot;).Size
  </code></pre>
  <p>BUT that requires loading the image from memory.</p>
  <p>When I view the images in Windows Explorer it shows me the size.</p>
  <ul>
  <li>How do I access that size?</li>
  <li>Is it reliable for all images? Does Windows explorer need to have 'seen' the image first for that size to be available. I don't want to upload my images to a server and have no metadata available if I never opened the folder.</li>
  </ul>