This feature allows you to define an x and y-axes coordinate system for an image, and then fetch a specific partition of the image by specifying the length and index.

Parameters

This table provides the description and values for the parameters for the indexcrop operation.

Parameter Description Value
X Length of each image partition during horizontal cutting. Either the x or y parameter must be used. [1, image width]
Y Length of each image partition during vertical cutting. Either the x or y parameter must be used. [1, image height]
i Image partition selected after cutting. (The value 0 indicates the first partition.) [0, maximum partition quantity). If the maximum partition quantity is exceeded, the system returns the source image.

Caveats

If the specified index exceeds the cut range, the system returns the source image.

Example

Divide an image equally by 100 on the X-axis, and fetch the first partition.