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

How to get screenshot/image of bot's first person view in python? #441

Open
Alexanderfem opened this issue Nov 28, 2024 · 4 comments
Open

Comments

@Alexanderfem
Copy link

I have been able to set it up in python to see the bots first person view live on a local webpage, but I need to get a screenshot/image of the view in order to send it through a discord bot in an embed.

@rsanche4
Copy link

i need to figure out this too. Did you find a way?

@Alexanderfem
Copy link
Author

i need to figure out this too. Did you find a way?

Nope, have not found a way in python yet.

@Alexanderfem
Copy link
Author

Checkout https://github.com/PrismarineJS/mineflayer/blob/master/examples/screenshot-with-node-canvas-webgl/screenshot.js

Found this earlier, just not really sure how to do the same thing in python, not really familiar with js

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

3 participants