Version: 
Back to list

Material :: getImageSize

Synopsis

   Returns the size of an image

GUI Dialog

   

Script function

   material.getImageSize(image) -> (width, height)

Parameters

   image (Image) : The image to get the size from

Return value

   width (Int) : The width of the image in pixels
   height (Int) : The height of the image in pixels