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

capture doesn't work #24

Open
walchko opened this issue Sep 8, 2019 · 1 comment
Open

capture doesn't work #24

walchko opened this issue Sep 8, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@walchko
Copy link

walchko commented Sep 8, 2019

I tried to capture a scene to a file:

scene = canvas()
# created some stuff here ...
scene.capture("test.jpg")

On linux, nothing happened.

@mwcraig mwcraig added the bug Something isn't working label Sep 8, 2019
@BruceSherwood
Copy link
Member

What version of VPython are you using? (One way to find out is "print(version)" in a VPython program. Also, what browser are you using? What Linux?

Not directly relevant to your problem, but note that giving the name "test.jpg" will result in a png file named test.jpg.png, as png is the only format currently supported by scene.capture().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants