Start » Filter Reference » Image » Image Drawing » DrawGridImage

DrawGridImage


Module: FoundationLite

Draws an image as a tile on an image considered to be a grid of tiles.

Name Type Description
Input value
inImage Image
Input value
inTileImage Image Image to be pasted to the grid
Input value
inColumnIndex Integer Column index in the grid
Input value
inRowIndex Integer Row index in the grid
Output value
outImage Image

Description

The operation supports drawing image grids composed of equally sized images. The filters draws single inImage on the inImage at the location being the selected multiple of inTileImage dimensions.

Parameters pair inColumnIndex and inRowIndex set to (0, 0) draws inTileImage at the location of (0,0) pixels of the inImage.

Examples

Four consecutive instances of the DrawGridImage used to plot an image grid. Each of the filters receives different inImage and different pair of the inColumnIndex, inRowIndex parameters - accordingly: (0,0) (0,1) (1,0) (1,1).

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • DrawImage – Draws an image on another one.
  • JoinImages – Creates a single image by glueing together the two input images in horizontal or vertical direction.
  • ComposeImages – Takes pixels from the first image within the specified region and from the other one elsewhere.