URI formats are not supported for properties height and width of image
<p>I am trying to access height and width of an <code>System.Drawing.Image</code>.</p>

<pre><code>Image image = Image.FromFile(PostedImage.ImageUrl.ToString());
int ActualWidth = image.Width;
int ActualHeight = image.Height;
</code></pre>

<p>I am getting error</p>

<blockquote>
  <p>URI formats are not supported.</p>
</blockquote>

<p>How can this be done?</p>
