    ImageType ImageFactory::getType(BasicIo& io)
    {
        if (io.open() != 0)
            return ImageType::none;
        IoCloser closer(io);
        for (unsigned int i = 0; registry[i].imageType_ != ImageType::none; ++i) {
            if (registry[i].isThisType_(io, false)) {
                return registry[i].imageType_;
            }
        }
        return ImageType::none;
    }
Unknown