def METHOD_NAME():
    """test conversion of different image types"""
    import pathlib
    import tempfile
    from osxphotos.imageconverter import ImageConverter
    converter = ImageConverter()
    tempdir = tempfile.TemporaryDirectory(prefix="osxphotos_")
    with tempdir:
        for imgfile in TEST_IMAGES:
            imgfile = pathlib.Path(imgfile)
            outfile = pathlib.Path(tempdir.name) / f"{imgfile.stem}.jpeg"
            outfile2 = pathlib.Path(tempdir.name) / f"{imgfile.stem}_2.jpeg"
            # call write_jpeg with both pathlib.Path and str arguments
            assert converter.write_jpeg(imgfile, outfile)
            assert converter.write_jpeg(str(imgfile), str(outfile2))
            assert outfile.is_file()
            assert outfile2.is_file()