You are here: Start » FIL.NET » Function Reference » Image » Image Spatial Transforms Maps » FIL.CreateImageResizeMap
Creates a spatial map representing an image resizing.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateImageResizeMap ( FilNet.ImageFormat inImageFormat, int inNewWidth, int inNewHeight, FilNet.InterpolationMethod inInterpolationMethod, FilNet.SpatialMap outResizeMap, NullableRef<FilNet.Region> outOutputRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageFormat | FilNet.ImageFormat | Information about dimensions, depth and pixel type of the image. | ||
![]() | inNewWidth | int | <1, INF> | Width of an image created by output spatial map application. | |
![]() | inNewHeight | int | <1, INF> | Height of an image created by output spatial map application. | |
![]() | inInterpolationMethod | FilNet.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | |
![]() | outResizeMap | FilNet.SpatialMap | Output spatial map. | ||
![]() | outOutputRegion | FilNet.NullableRef<FilNet.Region> | Pixels set by the spatial map application. Can be null to skip this parameter calculation. |
Description
The operation generates map that stretches or shrinks the image. Two modes of pixel interpolation are available, the bilinear filtering being more precise and computationally expensive. Usually creating map and then using RemapImage is faster than ResizeImage.
Function Overrides
- CreateImageResizeMap(ImageFormat, Int32, Int32, InterpolationMethod, SpatialMap)
- CreateImageResizeMap(ImageFormat, Int32, Int32, InterpolationMethod, SpatialMap, Region)