You are here: Start » AVL.NET » AVL.CropImage(AvlNet.Image, AvlNet.Box, AvlNet.Image)

AVL.CropImage(AvlNet.Image, AvlNet.Box, AvlNet.Image)

Creates an image from a box-shaped fragment of the input image (with margins if requested).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CropImage(
	AvlNet.Image inImage,
	AvlNet.Box inSelection,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inSelection
Type: AvlNet.Box
Box defining a subimage to be cropped
outImage
Type: AvlNet.Image
Output image

Description

The operation extracts part of the inImage that corresponds to the inSelection box.

Examples

CropImage performed on the sample image.

See also