def METHOD_NAME(tmpdir, image, use_largeimage=False):
    tmp_path_ = tmpdir.mkdir("myslide")
    image.save(os.path.join(tmp_path_, "mywsi.png"), "PNG")
    slide_path = os.path.join(tmp_path_, "mywsi.png")
    slide = Slide(slide_path, "processed", use_largeimage=use_largeimage)
    return slide, tmp_path_