def METHOD_NAME(cls, entry_data: "W16TocEntry", pil: Image.Image) -> "W16Image":
    """Creates a new W16Image from a PIL image with 16-bit color palette as input"""
    entry_data.width = int(pil.width / TILE_DIM)
    entry_data.height = int(pil.height / TILE_DIM)
    new_pal, new_img = cls._read_in(pil, entry_data.width, entry_data.height)
    return cls(entry_data, cls.compress(new_img), new_pal)