pyvista.PNGReader#
- class PNGReader(*args, **kwargs)[source]#
PNGReader for .png files.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_vtk_logo(load=False) >>> filename.split('/')[-1] # omit the path 'vtk.png' >>> reader = pv.get_reader(filename) >>> mesh = reader.read() >>> mesh.plot()
Methods
Attributes