# Transform node

The Transform node is variadic and applies a scale operation, a rotation and a translation to the input images.

## Inputs

The Transform node accepts one or more color images as input.

It also accepts a grayscale input image for each transform parameter. In that case, instead of applying a uniform transform to the input image, the transform parameter will, for each pixel, be multiplied by a value from -1 to 1 that depends linearly on the corresponding grayscale input image (a black pixel will multiply the parameter by -1, a white pixel will not change the parameter, a grey50 pixel will set it to 0).

## Outputs

The Transform node outputs the transformed inputs images.

The input images are first rotated around its center, then the scale operation is applied and finally the translation.

Using the scale operation to zoom on a detail of the input image is only recommended if the input does not rely on resolution dependant nodes.

## Parameters

The Transform node has the following parameters:

- Translate X and Translate Y define the translation.

- Rotate define the rotation expressed in degrees.

- Scale X and Scale Y define the scale operations along the X and Y axes.

- Mode Defines the behavior beyond the limits for the input image:

  > - Clamp stretches the edges

  > - Repeat tiles the input

  > - Extend shows parts of the input that are beyond the edges

## Example images