KCML_Image_Resize

Purpose

Resize an image

Definition

DEFSUB 'KCML_Image_Resize(BYREF image$()_KCML_RGBA), Width, Height) AS Void

Parameters

imageArray representing the image to be resized. The array will be resized.
WidthNew width
HeightNew height

Description

Resizes an image in memory to a new size. The aspect ratio is preserved so the new image may have a width or height less than expected.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.