Region

Specifies the region to use when cropping the image.

Set this parameter only when you want to specify a fixed region. If you do not set this parameter, Media Server uses the region data in the input record (for example a bounding box around a detected face or object).

To specify a region, set this parameter to a comma-separated list of values in the order: left,top,width,height.

left is the distance from the left edge of the image to the left edge of the region.
top is the distance from the top edge of the image to the top edge of the region.
width is the width of the region.
height is the height of the region.

Depending on the setting of the RegionUnit parameter, values are given in either pixels or as percentages of the image dimensions.

Type: Comma-separated list of integers
Default:  
Required: No
Configuration Section: TaskName
Example:

The following example crops the image, keeping the central 25% of the image.

Region=25,25,50,50
RegionUnit=percent
See Also: RegionUnit

_FT_HTML5_bannerTitle.htm