I think that simply means that the tiff doesn't have any content in the image description.
If I open a regular tiff, I get the same results as you.
Seems only some of the keys listed at
https://github.com/python-pillow/Pillow ... ePlugin.py are supported, and you can get them via
- Code: Select all
>>> im.tag.keys()
[256, 257, 258, 259, 262, 273, 278, 284, 305, 274, 277, 279, 280, 281]
See that 270 for image description is not there.
You can get a list of what's available by:
- Code: Select all
>>> for t in im.tag.keys():
... print t, im.tag[t]
...
256 (128,)
257 (128,)
258 (16,)
259 (1,)
262 (1,)
305 softWoRx 2.50, Applied Precision, Inc.
273 (8,)
278 (128,)
284 (1,)
274 (1,)
277 (1,)
279 (32768,)
280 (1,)
281 (7864,)
That's all I see at the moment,
Do you have an idea that there is some other metadata in the tiff that you're not seeing?
Hope that helps,
Will.