它的功能有限,特别是在回写磁盘非RGB图像时,但是Christoph
Gohlke的
tifffile模块可以毫无问题地读取3通道16位TIFF,我只是对其进行了测试:
>>> import tifffile as tiff>>> a = tiff.imread('Untitled-1.tif')>>> a.shape(100L, 100L, 3L)>>> a.dtypedtype('uint16')而且Photoshop在阅读时不会抱怨我从中得到了什么:
>>> tiff.imsave('new.tiff', a)


