Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Screenshot of the whole desktop in SFML?
Print
Pages: [
1
]
Author
Topic: Screenshot of the whole desktop in SFML? (Read 1590 times)
0 Members and 1 Guest are viewing this topic.
KKZiomek
Newbie
Posts: 3
Screenshot of the whole desktop in SFML?
«
on:
December 23, 2016, 07:45:31 pm »
Hi, is there a function in SFML that captures the whole desktop, not just the window, and saves it to a buffer or an image object?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11033
Screenshot of the whole desktop in SFML?
«
Reply #1 on:
December 23, 2016, 08:14:51 pm »
No, SFML doesn't provide such a feature. However people here on the forum have previously written some short code snippets that allow to do this. Just run a forum search and you should be able to find it.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
StubblyOne
Newbie
Posts: 7
Re: Screenshot of the whole desktop in SFML?
«
Reply #2 on:
December 26, 2016, 11:29:26 am »
Why dont you just use print sc then open a paint program and paste it in there?
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Screenshot of the whole desktop in SFML?