pytiff package

Module contents

pytiff.byteorder(filename)

Check the byteorder of a given file.

Parameters:filename (str) – Filename of a tiff image.
Returns:‘<’ for little endian, ‘>’ for big endian.
Return type:str
pytiff.is_bigtiff(filename)

Check if a tiff image is bigtiff or not.

Parameters:filename (str) – Filename of a tiff image.
Returns:True if the file is a bigtiff, False otherwise.
Return type:bool