(AGK version: 108.16)
Submitted: 2013-08-08 10:38:20
Setvirtualresolution(640,480)
ResetTimer()
//Create an image
swap()
SetPrintSize(28)
SetPrintColor(255,255,0)
Print("K")
render()
GetImage(1,0,0,32,32)
//Check if image 2 exists, if not create a copy of image 1
Do
    If GetImageExists(2)=1
        Print("Image 2 Created")
    Else
        CopyImage(2,1,0,0,32,32)
    EndIf
    Sync()
    If Timer()>10 Then Exit
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.