-
Notifications
You must be signed in to change notification settings - Fork 0
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
support a resolution scaling factor for export-as-png #81
Comments
This isn't quite intuitive to me. What's an example call |
Need to consider both headless and interactive modes. So we need this (mainly for interactive mode) |
Certainly I agree we need to support the 200% and 400% quality. It's just not clear how easy that is currently. In interactive mode, the user could use the GUI. |
Another option that I don't see listed is to save in a format supportive of vectors (PDF, PS, EPS). This would be helpful for regions, contours, vector overlays or other annotations. Furthermore, despite giving no advantage to raster images, journals often request or require EPS images. |
We will wait until the frontend can support those. The scripting interface basically supports what can be done with the frontend only. |
Makes sense. I guess I'm punting for its addition on the frontend, and relating it to the goal of having publication-quality images. |
The frontend supports three resolution scaling options as 100% (as is on screen), 200%, and 400%, if users need a higher resolution PNG image for presentation purposes. Session.save_rendered_view() function could be enhanced to support this.
Currently we can use Session.set_view_area() to a desired PNG size. Having the scaling factor would be a handy if users are in the interactive mode. For headless mode, Session.set_view_area() alone should be sufficient.
The text was updated successfully, but these errors were encountered: