Exporting core tissue and core label from QuPath version 0.2.x
There are some changes in syntax between QuPath version 0.2.x and 0.1.x. Referring Quapth Document for more detail [here].
[SRA] project from Christian Abbet
from PIL import Image, TiffTags
TiffTags.LIBTIFF_CORE.add(317)
img = Image.open('issue2866.tif')
img.save('issue2866_out.tif', compression='tiff_lzw', tiffinfo={317: 2})