pip install tifffile
python import tifffile
img_array = tifffile.imread("input.tif")
img_array = tifffile.imread("input.tif") img_array_alpha = img_array[..., 1]
https://github.com/cgohlke/tifffile https://pypi.org/project/tifffile/