Pascal
procedure tsImageDestroy(ImageID: tsImageID);
C/C++
void tsImageDestroy(tsImageID ImageID);
An image which was created with tsImageCreate musst be freed with this function.
This is the ID of an image that will be completely freed.
If there was no context bound.
This will happen if you pass an invalid ImageID to this function.