ArcBasicDocs

TFormImage

Transforms an image by a 2x2 matrix.

TFormImage ( image,a#,b#,c#,d# )

Parameters

image
the image's handle.
a#
how much x feeds into the new x.
b#
how much y feeds into the new x.
c#
how much x feeds into the new y.
d#
how much y feeds into the new y.

Description

Transforms an image with a 2 by 2 matrix: each pixel at x,y moves to a * x + b * y, c * x + d * y, measured from the handle. ScaleImage and RotateImage are special cases; this also allows slanting.

See also