@classmethod
def get_image_info(cls, name):
    """
        Gets an image's info.

        It is not required to prefix the name with ``File:``, but the extension is required.

        Parameters
        ----------
        name: :class:`str`
            The name of the image.

        Returns
        -------
        :class:`Image`
            The image's information.
        """
    gen = cls.get_images_info([name])
    return next(gen)
