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

Be able to specify DPIs for a screenshot #314

Open
jhlegarreta opened this issue Sep 26, 2020 · 1 comment
Open

Be able to specify DPIs for a screenshot #314

jhlegarreta opened this issue Sep 26, 2020 · 1 comment

Comments

@jhlegarreta
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Rather than a problem, it is a feature request. I think it would be desirable if the window.record or window.snapshot methods allowed to specify the DPI resolution of an image when it is to be saved. Not sure how this fits into the current framework where the size of the pictures is specified in pixels.

Describe the solution you'd like
Add an optional parameter to the window.record and window.snapshot methods allowing to specify the DPI resolution of te target file.

Describe alternatives you've considered
None applicable.

Additional context
Not sure if the underlying VTK classes allow to do this easily, or whether Pillow does allow it, and hence the option could be exposed.

@skoudoro skoudoro added this to the v0.9.0 milestone Sep 28, 2020
@skoudoro
Copy link
Contributor

Thank you for your feedback @jhlegarreta.

Following our calendar, this feature can be integrated for the release 0.9.0 (in March). However, feel free to give a try if you want it for an earlier release!

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

No branches or pull requests

2 participants