User Tools

Site Tools


en:imageload

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

History

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