Crop

Modifies the Data and/or Display Window, in a way that is either user-defined, or can be driven by the existing Data or Display Window.

user

Container for user-defined plugs. Nodes should never make their own plugs here, so users are free to do as they wish.

out

The output image generated by this node.

enabled

Turns the node on and off.

in

The input image

areaSource

The source of the area to crop to.

  • Area : A user-defined area specified by the area plug.

  • Format : A user-defined area specified by the format plug.

  • DataWindow : The data window of the input image.

  • DisplayWindow : The display window of the input image.

  • Auto : The minimal area that contains all the non-empty pixels of the input image. For flat images, this means pixels with a non-zero value in at least one channel, and for deep images it means pixels with at least one sample.

area

The custom area to set the Data/Display Window to. This plug is only used if ‘Area Source’ is set to Area.

format

The Format to use as the area to set the Data/Display Window to. This plug is only used if ‘Area Source’ is set to Format.

formatCenter

Whether to center the output image (based on the existing display window) inside the new display window format. This plug is only used if ‘Area Source’ is set to Format, and ‘Affect Display Window’ it checked.

affectDataWindow

Whether to intersect the defined area with the input Data Window. It will never pad black onto the Data Window, it will only ever reduce the existing Data Window.

affectDisplayWindow

Whether to assign a new Display Window based on the defined area.

resetOrigin

Shifts the cropped image area back to the origin, so that the bottom left of the display window is at ( 0, 0 ).