CopyRectangle

With the CopyRectangle node, you can copy a rectangular area from one input on top of another.

The CopyRectangle node can also be used to limit effects, such as color corrections, to a small rectangular region of an image. To do so, you need to use the same image in both input A and B and only perform the color correction on one input.

Inputs and Controls

Connection Type

Connection Name

Function

Input

A

The image from which the rectangle is copied.

B

Them image to which the rectangle is copied.

Control (UI)

Knob (Scripting)

Default Value

Function

CopyRectangle Tab

channels

channels

all

Sets the channels to copy from input A within the specified rectangle.

If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels.

area xyrt

area

512

Sets the bounds of the copy rectangle on the xy axes and the rectangle position from the right and top.

389

1536

1167

softness

softness

0

Allows you to to vignette the edges of the copied rectangle. The larger the value, the more of the area around the edges is faded to input B.

A value of 0 produces no vignetting.

mix

mix

1

Dissolves between the original image at 0 and the full effect at 1.

Step-by-Step Guides

Copying a Rectangle from one Image to Another