Table of Contents

ImgageLoad (Function)

Format

imgageload ( file_name)

returns internal_image_identifier

Description

Load an image file into memory and returns a string with an identifier for use with the other Image* functions and statements.

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

2016/01/01 22:42

History

1.99New to Version