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

Headless screenshot generation via Docker #15

Merged
merged 6 commits into from
Feb 11, 2018
Merged

Conversation

bwasty
Copy link
Owner

@bwasty bwasty commented Feb 11, 2018

Proper headless screenshot generation with the --headless flag currently only works on macOS.
To work around that, a Docker setup that uses xvfb is added. Usage examples:

./screenshot_docker.sh Box.glb
./screenshot_docker.sh Box.glb -w 1920 -h 1080 --count 3 -vv

Alternatively, you can also install xvfb and use ./run_xvfb.sh directly (Linux only).

Might solve #12

@bwasty bwasty mentioned this pull request Feb 11, 2018
@bwasty bwasty merged commit 04fab84 into develop Feb 11, 2018
@bwasty bwasty deleted the headless_docker branch February 11, 2018 08:22
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

Successfully merging this pull request may close these issues.

1 participant