ConvertConfig.SetCanvasClip Method

Definition

Namespace: P1.ImageSdk

Sets the CanvasClip property

public ConvertConfig SetCanvasClip(CanvasClip canvasClip);

Canvas has the full RAW image, and renders the missing data as white.

Canvas containst the largest upright rectangle fit into the warped image. This value will make sure that all pixels in the output image is valid, but may loose some recorded data at the edges.

Canvas dimension matches the input image dimensions, and is centered around the principal point. This value may result both lost data and missing data rendered as white at the edges. This is the default option.

Returns:

This object itself (this), to allow chaining