GetHeight

Syntax

Image:GetHeight(img_handler, return)

Description

Returns the the height of the 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 mysky;
  //declare the variable to hold the image's height value
  Var:Number imgHgt;
 
  //be sure to create the sky.bmp first
  Image:Load("sky.bmp", mysky)
 
  //get height of image
  Image:GetHeight(mysky,imgHgt)
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net