A library for random access on (Big-) Tiff files.
# create a huge empty image
images = [PlaceHolder((20000, 10000, 1), 'uint8')]
fname = '/tmp/myimage.tif'
Tiff.write(images, io=fname)
# assign a pixels
with Tiff.from_file(fname) as tif:
for img in tif:
print(img.tags) # dict with tags for this image
arr = img.memmap()
print(arr.shape)
arr[5000,5000,0] = 99
pip install git+https://github.com/yapic/bigtiff.git@master