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

Screenshot/export? #5

Closed
rw-anderson opened this issue Feb 17, 2021 · 4 comments · Fixed by GLVis/glvis#186
Closed

Screenshot/export? #5

rw-anderson opened this issue Feb 17, 2021 · 4 comments · Fixed by GLVis/glvis#186
Assignees
Labels
question Further information is requested

Comments

@rw-anderson
Copy link

rw-anderson commented Feb 17, 2021

Is there any way to capture/export the images created in a pyglvis widget? The "S" "ctrl-P" keys does not seem to dump a screenshot like it does in glvis.

@tzanio
Copy link
Member

tzanio commented Feb 17, 2021

@tomstitt can correct me if I'm wrong, but I believe the screenshots are disabled in the JS (and consequently) pyglvis versions. I'm not sure if there is a technical/security reason for that, or if it just hasn't been implemented.

Is taking a regular OS screenshot (e.g. Cmd-Shift-4 on a Mac) not sufficient for your needs?

@tzanio tzanio added the question Further information is requested label Feb 17, 2021
@rw-anderson
Copy link
Author

I'm trying to create galleries of figures programatically, so manual screenshots isn't really feasible.

@tomstitt
Copy link
Member

@tzanio is correct, the screenshot code is not implemented for the Emscripten/JS build we use in pyglvis. It's something we should be able to add and I'll let you know when it's working.

@tzanio
Copy link
Member

tzanio commented Aug 27, 2021

Resolved by GLVis/glvis#196 and GLVis/glvis-js#12.

Will be deployed as part of glvis-4.1.

@tzanio tzanio closed this as completed Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants