def METHOD_NAME(tmp_path):
    temp_file = str(tmp_path / "temp.ico")
    im = hopper()
    im.save(temp_file, "ico", sizes=[(32, 32), (64, 64)])
    with Image.open(temp_file) as reloaded:
        reloaded.load()
        reloaded.size = (32, 32)
        assert reloaded.getpixel((0, 0)) == (18, 20, 62)