title: How can I get the mime-type of an Image class instance in memory in c#?
body: <p>In a library I am writing for some infrastructure projects at work, I have a method to create various scales of an image (for thumbnails etc...).  However, the system that I am storing this data in is requiring a mime-type declared in the database for various reasons.</p>
  
  <p>Is there a way to get a Mime type from the passed in c# <code>Image</code> class, or will I have to have external applications pass in the Mimetype along with the image?</p>