Destroys the image and frees the memory used.
* image data is destroyed only if its data[0] is not NULL. \n
* In Lua if this function is not called, the image is destroyed by the garbage collector.
*
* \verbatim im.ImageDestroy(image: imImage) [in Lua 5] \endverbatim
* \verbatim image:Destroy() [in Lua 5] \endverbatim
* \ingroup imgclass
Destroys the image and frees the memory used. * image data is destroyed only if its data[0] is not NULL. \n * In Lua if this function is not called, the image is destroyed by the garbage collector. * * \verbatim im.ImageDestroy(image: imImage) [in Lua 5] \endverbatim * \verbatim image:Destroy() [in Lua 5] \endverbatim * \ingroup imgclass