pyvista.PNGReader#

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

PNGReader for .png files.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_vtk_logo(load=False)
>>> filename.split("/")[-1]  # omit the path
'vtk.png'
>>> reader = pyvista.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-PNGReader-1_00_00.png

Methods

Attributes