def check_fit(image, text_file):
    """
    Checks if the supplied data will fit the image.
    
    Args:
        image: The image object of the PIL image.
        text_file: the text file you want to embed to the image.
    Returns:
        True: If the supplied text fits the image.
        False: If the supplied text will not fit in the image. 
    """
    # Reads the number of characters to embed
    text_file.seek(0)
    text_length = len(text_file.read())

    # Calculates the number of pixels needed, plus the 11 extra pixels to embed text length
    pixels_required = text_length*8+11

    # Calculate the number of pixels the image has
    image_width, image_height = image.size
    total_pixels = image_width * image_height

    if total_pixels < pixels_required:
        return False
    else:
        return True