ktk.Player.to_image#

Player.to_image(filename)[source]#

Save the current view to an image file.

Any format supported by Matplotlib can be used.

Parameters

filename (str) – Name of the image file to save (e.g., “file.png”, “file.jpeg”, “file.pdf”, “file.svg”, “file.tiff”)

Return type

None