def invert_image(image):
    """
        Inverts a binary image

        Args:
            image: a binary image (black and white only)

        Returns:
            An inverted version of the image passed as argument
    """
    return 255 - image