Allow loading of two image formats