import base64


def convert_image(filename: str) -> str:
    """Converts image to string.

    Args:
        filename: The name of the image to convert.

    Returns:
        The image converted to serializable string representation.
    """
    with open(filename, 'rb') as file:
        converted = base64.b64encode(file.read()).decode()
    return converted