Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy way of exporting images from output? #47

Open
silverrose-llnl opened this issue Aug 2, 2024 · 1 comment
Open

Easy way of exporting images from output? #47

silverrose-llnl opened this issue Aug 2, 2024 · 1 comment

Comments

@silverrose-llnl
Copy link

Hello!

Is there an easy way of exporting the output of the widget to images? I'm trying to create an animation of the outputs, hence i'd like to automate it. I tried using the S command from GLVis but that didn't seem to work.

Thanks!

@v-dobrev
Copy link
Member

I think you should be able to right-click and copy or save from the pop-up menu. If not, you can try to select the widget a press the copy key combination (ctrl+c, cmd+c, etc) to copy the image to the clipboard.

When the S key is pressed it should write a file named GLVis_s00.png but I'm not sure in which directory it will be; each time S is pressed, the 00 index will be incremented, so images from the same GLVis instance will not be overwritten. However, different widgets may use different instances of GLVis, so they may all write to the same GLVis_s00.png file.

Lastly, it may be possible for you to just add the command screenshot 'file.png' to the end of the GLVis input stream and that should produce a screenshot of the widget in the given file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants