validate_jhove

tifffile.validate_jhove(filename, /, jhove=None, ignore=None)

Validate TIFF file with jhove -m TIFF-hul.

JHOVE does not support the BigTIFF format, more than 50 IFDs, and many TIFF extensions.

Parameters:
  • filename (str) – Name of TIFF file to validate.

  • jhove (str | None) – Path of jhove app. The default is ‘jhove’.

  • ignore (Collection[str] | None) – Jhove error message to ignore.

Raises:

ValueError – Jhove printed error message and did not contain one of strings in ignore.

Return type:

None

References