Screen shots

Blitz3D Forums/Blitz3D Beginners Area/Screen shots

Chimeara(Posted 2004) [#1]
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?


semar(Posted 2004) [#2]
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.


Grisu(Posted 2004) [#3]
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


big10p(Posted 2004) [#4]
...or just press alt+print screen to copy a screenshot into the Windows clipboard.


CodeD(Posted 2004) [#5]
Just pressing PrintScreen by itself, then opening paint or something and selecting Paste will do it.


Chimeara(Posted 2004) [#6]
yea that's all fine and dandy but i need the programe to takes it's own screen shots of a 3D invironment.


Mustang(Posted 2004) [#7]
http://www.blitzbasic.com/codearcs/codearcs.php?code=128


Zethrax(Posted 2004) [#8]
SaveBuffer ( BackBuffer(), filename$ )