Function registerImageType

void registerImageType (
  string extension,
  Bitmap function(const(ubyte[])) loader
);