User Tools

Site Tools


en:imagewidth

ImgageWidth (Function)

Format

imgagewidth ( internal_image_identifier)

returns height

Description

Returns the width 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

History

1.99New to Version
en/imagewidth.txt · Last modified: 2020/06/09 09:45 by admin