Screen Shots

BlitzMax Forums/BlitzMax Programming/Screen Shots

DaY(Posted 2006) [#1]
ive done a search and cheacked the code archives but no look ( the one in the code archives dont work)

i need to know how to make screen shots lol so i dont have to do them like this



yes thats running slow but it is a 2048x2048 height map terrain with alot in view


fredborg(Posted 2006) [#2]
Local p:TPixmap = GrabPixmap(x,y,w,h)
SavePixmapPNG(p,file$)

Something like that


LarsG(Posted 2006) [#3]
if you use the AltGr button + PrtScn, then you will only capture the active window...
either that, or make some screengrabbing code ingame.. :)


Muttley(Posted 2006) [#4]
Here's a routine I just knocked together. lables the screenshots uniquely too:



HTH

Muttley