GIFReader#
- class GIFReader(*args, **kwargs)[source]#
GIFReader for .gif files.
- Parameters:
- path
str Path of the GIF to read.
- path
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_gif_simple(load=False)
>>> Path(filename).name
'sample.gif'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot(rgba=True, zoom='tight', border=True, border_width=2)