Friday, 30 November 2018

Python: hide warning for "TIFFSetField"

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")



from Python: hide warning for "TIFFSetField"

No comments:

Post a Comment