public static getImage(filename as String):
Factory method to get an image instance based on the file extension.
An instance of the appropriate image class. image = Image.getImage("image.png")
image = Image.getImage("image.png")