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