You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms » FIL.CropImage
Creates an image from a box-shaped fragment of the input image (with margins if requested).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropImage ( FilNet.Image inImage, FilNet.Box inSelection, FilNet.Pixel inBorderColor, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inSelection | FilNet.Box | Box defining a subimage to be cropped. | ||
![]() | inBorderColor | FilNet.Pixel | Color used for locations outside the selection. | ||
![]() | outImage | FilNet.Image | Output image. |
Description
The operation extracts part of the inImage that corresponds to the inSelection box.
Examples
![]() |
![]() |
CropImage performed on the sample image.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.