title: VB.NET How do I check the size and dimensions of an image?
body: <p>I'm reading in an image (jpg) using the code below and I need to check that the image is no bigger than 150 pixels by 150 pixels and is less than 25k, how should I do this?</p>
  
  <pre><code>PictureBox2.Image = Image.FromFile(.FileName)
  </code></pre>