You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Image to be cut into tiles. | ||
![]() | inTileWidth | int | <1, INF> | 1 | Demanded tile width. Default value: 1. |
![]() | inTileHeight | Atl.Optional<int> | <1, INF> | Demanded tile height; equals inTileWidth when set to Auto. Default value: atl::NIL. | |
![]() | inHorizontalStep | Atl.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. | |
![]() | inVerticalStep | Atl.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. | |
![]() | inOverflowControl | Avl.OverflowControl | Define what to do when overflowing tiles are present. | ||
![]() | outImageTiles | System.Collections.Generic.List<Avl.Image> | Resulting image tiles. |