pyvista.image_to_texture#
- image_to_texture(image)[source]#
Convert
pyvista.ImageData
to apyvista.Texture
.- Parameters:
- image
pyvista.ImageData
|vtkImageData
Image to convert.
- image
- Returns:
pyvista.Texture
The texture.
Convert pyvista.ImageData
to a pyvista.Texture
.
pyvista.ImageData
| vtkImageData
Image to convert.
pyvista.Texture
The texture.