pyvista.BMPReader#

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

BMP Reader for .bmp files.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_masonry_texture(load=False)
>>> filename.split("/")[-1]  # omit the path
'masonry.bmp'
>>> reader = pv.get_reader(filename)
>>> mesh = reader.read()
>>> mesh.plot()
../../../_images/pyvista-BMPReader-1_00_00.png

Methods

Attributes