Screen Shots --

This isn’t really an SDL question at all but, I have no clue how to make
images of the screen under GNU/Linux. Back in Windows (oh so long ago),
I would use the “Print Screen” key, but now i am lost. Thanks…

-- David Snopek

“David Snopek” wrote in message
news:3A0F5A19.5BBDEFEA at execpc.com

This isn’t really an SDL question at all but, I have no clue how to make
images of the screen under GNU/Linux. Back in Windows (oh so long ago),
I would use the “Print Screen” key, but now i am lost. Thanks…

SDL_SaveBMP(SDL_GetVideoSurface(), “filename.bmp”);–
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

David Snopek wrote:

This isn’t really an SDL question at all but, I have no clue how to make
images of the screen under GNU/Linux. Back in Windows (oh so long ago),
I would use the “Print Screen” key, but now i am lost. Thanks…

GIMP has a screen shot feature. You can also use the KDE program
ksnapshot.
As Rainer mentioned, SDL apps can use SDL_SaveBMP to save their video
surfaces to .bmp files.

-John

David Snopek writes:

This isn’t really an SDL question at all but, I have no clue how to make
images of the screen under GNU/Linux. Back in Windows (oh so long ago),
I would use the “Print Screen” key, but now i am lost. Thanks…

I use Debian and there are a few ways to go about doing this. You
can use a command called import(1). I use to have one called
xgrabsc, but I guess it got de-installed somewhere along potato…

But my favorite way to this is with gimp! Enter GIMP, go to
File -> Acquire -> Screen Shot…

All of these methods you can say how many seconds you wish for a
delay (you can setup up things accordingly, or change Desktop, etc).

hope it helps…–
Livio <@Livio_Baldini_Soares>

This isn’t really an SDL question at all but, I have no clue how to make
images of the screen under GNU/Linux. Back in Windows (oh so long ago),
I would use the “Print Screen” key, but now i am lost. Thanks…

import -window root screenshot.jpg

import comes with the ImageMagick package, which most systems should have
by default.–
Graeme Lennon -=- @Graeme_Lennon -=- Montreal, Canada
… deadening the flow of relentless biography …