title: Load Jpg/Gif/Bitmap and convert to Bitmap
body: <p>I have to load an image from an XML file. There is no information in the XML file about whether the image is JPG/GIF/BMP. After loading the image, I need to convert it to Bitmap.</p>
  
  <p>Does anyone have any clue how to convert images to Bitmap without knowing the actual file format? I'm using Delphi 2007/2009</p>
  
  <p>Thank you.</p>