Hi, you can take a screenshot of your vtk.js window via captureImages:
renderWindow.captureImages()[0].then(
(image) => { console.log(image); }
);
image
will contain a data URI with a png-encoded image.
Hi, you can take a screenshot of your vtk.js window via captureImages:
renderWindow.captureImages()[0].then(
(image) => { console.log(image); }
);
image
will contain a data URI with a png-encoded image.