#StackBounty: #python #suppress-warnings Python: hide warning for "TIFFSetField"

Bounty: 50

I’m working with some TIFF files

The script will output “TIFFSetField: tempfile.tif: Unknown pseudo-tag 65538.”

Is it possible to ignore/hide this?

Things I have tried running with:

-W ignore

and including this:

import warnings
warnings.filterwarnings("ignore")


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.