RImage.Scale


public function Scale

Prototype:

public function Scale(width, height, type);

Parameters

width
the new width of the image
height
the new height of the image
type
the type of interpolation used

Description:

This function scales a RImage to a new size specified by the width and height parameter, using the scaling type specified by the type parameter.

type must have one of this values:
INTERP_NEAREST
INTERP_TILES
INTERP_BILINEAR
INTERP_HYPER

Return value:

This function returns null.