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

Taking screenshots does not work on Scalismo 0.91 #59

Open
marcelluethi opened this issue May 17, 2022 · 2 comments
Open

Taking screenshots does not work on Scalismo 0.91 #59

marcelluethi opened this issue May 17, 2022 · 2 comments
Labels

Comments

@marcelluethi
Copy link
Contributor

Taking a screenshot either from the GUI or from the program, results in an image in which the object shown in the window is moved to the upper right corner.

@Andreas-Forster
Copy link
Member

Andreas-Forster commented May 18, 2022

I observed once a similar behavior (Windows). Can you try to change the display setting in Windows to not scale things due to high DPI resolution? Default is 150% on my machine, setting it to 100% was the workaround back then.

@marcelluethi
Copy link
Contributor Author

Thanks for the suggestion. This seems to solve the problem. Unfortunately it is more a workaround than a solution.

A possible solution could be to use vtk directly for doing the screen capture:
https://kitware.github.io/vtk-examples/site/Cxx/Utilities/Screenshot/

First tries were, however, unsuccessful, as it causes the whole UI to hang indefinitely. My guess is that it is some kind of threading issue.

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

No branches or pull requests

2 participants