SetResampleParams


The SetResampleParams function sets default parameters for resampling images. These valeus are stored in the ResampleParams table.

Syntax

bSuccess = SetResampleParams( ResampleParams )

bullet.gif    The ResampleParams table contains parameters that control resampling.

bullet.gif    On success, this method returns true.

bullet.gif    On failure, this method returns false.

Remarks

Resampling parameters are used for determining what happens to the empty pixels that move onto the image. This method updates the control parameters and it should be called before Rotate and other methods. The parameters are stored in a Lua table named ResampleParams.

Related Topics

CImage class, ResampleParams


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.