You are here: Start » AVL.NET » Invoke.CutImageIntoTiles

Invoke.CutImageIntoTiles

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CutImageIntoTiles
(
	Avl.Image inImage,
	int inTileWidth,
	Optional<int> inTileHeight,
	Optional<int> inHorizontalStep,
	Optional<int> inVerticalStep,
	Avl.OverflowControl inOverflowControl,
	List<Avl.Image> outImageTiles
)

Parameters

Name Type Range Default Description
inImageAvl.ImageImage to be cut into tiles.
inTileWidthint<1, INF>1Demanded tile width. Default value: 1.
inTileHeightAtl.Optional<int><1, INF>Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL.
inHorizontalStepAtl.Optional<int><1, INF>Defines horizontal space between consecutive tiles; defaults to tile width. Can be used to produce overlapping tiles. Default value: atl::NIL.
inVerticalStepAtl.Optional<int><1, INF>Defines vertical space between consecutive tiles; defaults to tile height. Can be used to produce overlapping tiles. Default value: atl::NIL.
inOverflowControlAvl.OverflowControlDefine what to do when overflowing tiles are present.
outImageTilesSystem.Collections.Generic.List<Avl.Image>Resulting image tiles.

See also