ImageWidth
ImageWidth (Function)
Format
imagewidth ( internal_image_identifier)
returns width
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
ImageAutoCrop, ImageCentered, ImageCopy, ImageCrop, ImageDraw, ImageFlip, ImageHeight, ImageLoad, ImageNew, ImagePixel, ImageResize, ImageRotate, ImageSetPixel, ImageSmooth, ImageTransformed, ImageWidth, Unload
History
| 1.99 | New to Version |