If you're using integer handles eg:
Then you need to use "Release RandomImage". If you're using explicit references, eg:
When there are no more references to the loaded image, it will be freed automatically. Therefore,
Will free the loaded image.
RandomImage = LoadImage( <path> )
Then you need to use "Release RandomImage". If you're using explicit references, eg:
RandomImage:TImage = LoadImage( <path> )
When there are no more references to the loaded image, it will be freed automatically. Therefore,
RandomImage:TImage = LoadImage( <path> ) DrawImage RandomImage, 0, 0 RandomImage = Null
Will free the loaded image.