TIFFReader#
- class TIFFReader(*args, **kwargs)[source]#
TIFFReader for .tif and .tiff files.
Wraps vtkTIFFReader.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_crater_imagery(load=False)
>>> Path(filename).name
'BJ34_GeoTifv1-04_crater_clip.tif'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()