(AGK version: 108.16)
Submitted: 2013-08-06 16:05:28
Setvirtualresolution(640,480)
ResetTimer()
//Create a Yellow Cross Image
swap()
Drawline(0,0,15,15,255,255,0)
Update(0)
Render()
Drawline(0,15,15,0,255,255,0)
Update(0)
Render()
GetImage(1,0,0,15,15)
//Save Image to File
SaveImage(1,"temp.png")
//Load Image from File
LoadImage(2,"temp.png")
//Create Sprite from Image
CreateSprite(1,2)
Do
    Sync()
    If Timer()>10
        //Delete All Images after 10 seconds
        DeleteAllImages()
        Exit
    EndIf
Loop
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.