Skip to main content

ImageHeight

ImageHeight (Function)​

Format​

imageheight ( internal_image_identifier)

returns height

Description​

Returns the height of an image in memory.

Example​

# shows the size of a selected image file (does not display)
f = openfiledialog("","","Image Files (*.png *.jpg *.bmp)")
a = imageload(f)
print imagewidth(a), imageheight(a)

See Also​

ImageAutoCrop, ImageCentered, ImageCopy, ImageCrop, ImageDraw, ImageFlip, ImageHeight, ImageLoad, ImageNew, ImagePixel, ImageResize, ImageRotate, ImageSetPixel, ImageSmooth, ImageTransformed, ImageWidth, Unload

History​

1.99New to Version