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

quality and resolution of the video #1168

Open
YongcaiHuang opened this issue Jul 27, 2024 · 3 comments
Open

quality and resolution of the video #1168

YongcaiHuang opened this issue Jul 27, 2024 · 3 comments

Comments

@YongcaiHuang
Copy link

YongcaiHuang commented Jul 27, 2024

in the example of saving video, there is the settings.screenshot_scale to control the resolution or quality of the video. However, in recent version of vedo, there is no screenshot_scale property. how can we control the quality now? Also, is there any plan to update the example documentation?

# settings.screeshot_scale = 2  # to get higher resolution
@marcomusy
Copy link
Owner

You should be able to do it with

plotter.screenshot("filneame.png", scale=2)

Also, is there any plan to update the example documentation?

Documentation should be already up to date in
https://vedo.embl.es/autodocs/content/vedo/vedo.html
Do you see anything that is out of date?

@YongcaiHuang
Copy link
Author

thanks for your reply.

I have tried plotter.screenshot(). It can indeed increase the quality of the screenshot picture, but how can we apply this to the video?

Also, is there any plan to update the example documentation?

sorry for the misleading, I mean the out-dated code in the example

# settings.screeshot_scale = 2  # to get higher resolution

@marcomusy
Copy link
Owner

Thanks for pointing to the problem I just pushed a fix for it:

video = Video(..., scale=2)

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