Table of Contents

, , ,

SCALE_IMAGE

Description

Scales the given image to the specified width and height

Syntax

SCALE_IMAGE (image, width, height) or SCALE_IMAGE (image, scale)

Cannot be used in the condition of a FIND action.

Parameters

An attribute of the picture type and two numbers representing width and height respectively

Returns

Picture: the image scaled to width × height pixels, or by scale (a number between 0 and 1)

Example

Object.ScaledImage = SCALE_IMAGE(Object.OrgImage, 30, 30) 

IMAGE_WIDTH, IMAGE_HEIGHT