Table of Contents

ImgageResize (statement)

Format

imgageresize internal_image_identifier, scale
imgageresize internal_image_identifier, width, height

Description

Resize an image in memory.

Example

f = openfiledialog("","","Image Files (*.png *.jpg *.bmp)")
a = imageload(f)

## show half size
imageresize a, .5
imagedraw a,100,100

# show 127x72 thumbnail
imageresize a, 128, 72
imagedraw a, 10,10

See Also

2016/01/01 22:42

History

1.99New to Version