Free

Syntax

Image:Free(img_handler)

Description

Destroys the specified image buffer.

Note

imagehandler should have been set to handle an Image using Image:Load or Image:New functions.

Example

function main() {
  //declare the variable to become the buffer
  Var:Number myheart;
 
  //be sure to create the heart.bmp first
  Image:Load("heart.bmp", myheart)
 
  //destroy the image buffer
  Image:Free(myheart)
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net