Setvirtualresolution(640,480)
ResetTimer()
//Create a Green Cross Image
swap()
Drawline(0,0,15,15,0,255,0)
Update(0)
Render()
Drawline(0,15,15,0,0,255,0)
Update(0)
Render()
GetImage(1,0,0,15,15)
//Save Image File
SaveImage(1,"temp.png")
//Load Image from file
LoadImage(2,"temp.png")
Do
Print(GetImageFileName(2))
Sync()
If Timer()>15 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)