def METHOD_NAME(self, filename: str):
    """
    Saves this image as a .png file.
    Args:
        filename (str): The path to the file to be saved.
    Raises:
        TypeError: filename is not a string.
        OSError: There was a problem saving the file.
    """
    ...