pyvista.TIFFReader#

class TIFFReader(*args, **kwargs)[source]#

TIFFReader for .tif and .tiff files.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_crater_imagery(load=False)
>>> filename.split("/")[-1]  # omit the path
'BJ34_GeoTifv1-04_crater_clip.tif'
>>> reader = pyvista.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-TIFFReader-1_00_00.png

Methods

TIFFReader.hide_progress()

Hide the progress bar when loading the file.

TIFFReader.read()

Read data in file.

TIFFReader.show_progress([msg])

Show a progress bar when loading the file.

Attributes

TIFFReader.path

Return or set the filename or directory of the reader.

TIFFReader.reader

Return the vtk Reader object.