You are here: Start » AVL.NET » Function Reference » Image » Image Tiling » AVL.CutImageIntoTiles

AVL.CutImageIntoTiles

Generates an array of small images by cutting the input image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CutImageIntoTiles
(
	AvlNet.Image inImage,
	int inTileWidth,
	int? inTileHeight,
	int? inHorizontalStep,
	int? inVerticalStep,
	AvlNet.OverflowControl inOverflowControl,
	IList<AvlNet.Image> outImageTiles
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage to be cut into tiles.
inTileWidthint<1, INF>1Demanded tile width. Default value: 1.
inTileHeightint?<1, INF>Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL.
inHorizontalStepint?<1, INF>Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL.
inVerticalStepint?<1, INF>Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL.
inOverflowControlAvlNet.OverflowControlDefine what to do when overflowing tiles are present.
outImageTilesSystem.Collections.Generic.IList<AvlNet.Image>Resulting image tiles.

Description

Generates an array of image tiles, which are cut from inImage.

Examples

CutImageIntoTiles performed on the sample image with inOverflowControl = false.

Function Overrides

See also