braingram/pylibtiff

Unknown TIFF tags

Opened this issue · 2 comments

TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 33922 (0x8482) encountered.
TIFFReadDirectory: Warning, Unknown field with tag 34735 (0x87af) encountered.

What steps will reproduce the problem?
1. open
2. read_image

What is the expected output? What do you see instead?
No warnings

What version of the product are you using? On what operating system?
Windows 7/64, Python 2.7

Please provide any additional information below.
Sample file attached

Original issue reported on code.google.com by a...@solarrain.com on 17 Aug 2013 at 2:30

Attachments:

These tags are private tags of GeoTIFF, see

  http://www.awaresystems.be/imaging/tiff/tifftags/private.html

To fix this issue, the tags definitions should be copied to 
libtiff/tiff_data.py file, see tag_info string. Patches are welcome.

Original comment by pearu.peterson on 13 Sep 2014 at 10:26

  • Changed state: Accepted
Can you please add some information on how to add tag definitions? I have a 
program that is working exactly how I want it to but it generates a warning 
everytime an image is read, and since I have a stack of images 10000 long the 
printing of these warnings slows me down.

Alternatively could you explain how I could just turn off the warnings?

Original comment by roberthe...@gmail.com on 28 Oct 2014 at 2:24