{{tag>Function Function_List Images Version:v5.0}} ====== 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 [[:ref:a_f:a:find|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) ===== Related ===== [[ref:a_f:f:af:image_width|IMAGE_WIDTH]], [[ref:a_f:f:af:image_height|IMAGE_HEIGHT]]