Take screenshot with allegro
Is there any way to take a screenshot and then save it as an allegro bitmap to be able to display it?
I don't mean take a screenshot of the program and save it. I mean take a screenshot of the whole screen and have it as a bitmap. Something like this.
ALLEGRO_BITMAP *screenshot = al_take_screenshot();
Ah... that can't be done with Allegro.
Thread #614998. Printed from Allegro.cc
Users can do that with screenshot utilities, which run by default in pretty much every OS. Why would you want redundant functionality in your program, when it's as easy as pressing Print Screen?