Screen shots

Blitz3D Forums/Blitz3D Beginners Area/Screen shots

I'm shore i've seen it done ,is there a way to tell the computer to take a screen shot and save the file on the hard drive?

The command SaveBuffer is what you need:
http://www.blitzbasic.com/bpdocs/command.php?name=SaveBuffer&ref=goto

You can also save an image by using the same command on the image buffer:
savebuffer(imagebuffer(your_image),"test.bmp")


Hope this helps,
Sergio.

You can also use Snarty's "FreeImage Userlib" in order to save screenshots into other formats.

If needed grab it here:
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=snarty09252003024804&comments=no

Grisu

...or just press alt+print screen to copy a screenshot into the Windows clipboard.

Just pressing PrintScreen by itself, then opening paint or something and selecting Paste will do it.

yea that's all fine and dandy but i need the programe to takes it's own screen shots of a 3D invironment.

http://www.blitzbasic.com/codearcs/codearcs.php?code=128

SaveBuffer ( BackBuffer(), filename$ )