Frame

Puts a frame around an image.

Inputs

Image (Type: Image)

The input image.

Size (Type: Int32)

The frame size.

Framing (Type: String)

The framing method (Nearest, Reflective (Middle), Reflective (Border), Periodic).

Outputs

Image (Type: Image)

The output image.

Comments

The Frame node puts a border around the input image.

The border can be put around in various ways. Nearest takes the nearest pixel value to the image border and repeats it.

Reflective (Middle) reflects the image at the middle of the border pixel.

Reflective (Border) reflects the image at the border of the border pixel.

Periodic periodically repeats the image.

Sample

Here is an example that puts a symmetric frame around an image.