The search engine for the site isn't working, and I'm feeling tired and lazy today.. does anyone have some example code for taking screenshots? I'm trying to catalog my progress..
Thanks!
Thanks!
Function ScreenshotPNG:Byte(url:String) Local Screen:Timage = CreateImage(GraphicsWidth(),GraphicsHeight()) GrabImage(Screen,0,0) Screentemp:TPixmap = LockImage(Screen) Return SavePixmapPNG(Screentemp,url) End Function Graphics 800,600,0,-1 For i = 1 To 1000 Plot Rnd(0,800),Rnd(0,600) Next FlushMem() Flip test:Byte = ScreenshotPNG("c:\test.png") Print test WaitKey()