You are here: Start » AVL.NET » Function Reference » Image » Image Spatial Transforms » AVL.UncropImage

AVL.UncropImage

Inverse of CropImage.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void UncropImage
(
	AvlNet.Image inImage,
	AvlNet.Box inSelection,
	int inWidth,
	int inHeight,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inSelectionAvlNet.BoxThe same value as in CropImage.
inWidthint<0, INF>Width of the original image.
inHeightint<0, INF>Height of the original image.
outImageAvlNet.ImageOutput image.

Description

Inverse of CropImage. Can create borders around original image e.g. passing x:50 y:50 will create new image with filled 50 pixels on top and 50 on left of the original image. inWidth and inHeight specifies the new image dimensions, Width and Height from inSelection property are not used.

Examples

inSelection property Preview
origin in x:0 y:0
origin in x:50 y:50

See also