You are here: Start » AVL.NET » AVL.CreateImageResizeMap(AvlNet.ImageFormat, int, int, AvlNet.InterpolationMethod, AvlNet.SpatialMap, AvlNet.Region)
AVL.CreateImageResizeMap(AvlNet.ImageFormat, int, int, AvlNet.InterpolationMethod, AvlNet.SpatialMap, AvlNet.Region)
Creates a spatial map representing an image resizing.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateImageResizeMap( AvlNet.ImageFormat inImageFormat, int inNewWidth, int inNewHeight, AvlNet.InterpolationMethod inInterpolationMethod, out AvlNet.SpatialMap outResizeMap, out AvlNet.Region outOutputRegion )
Parameters
- inImageFormat
- Type: AvlNet.ImageFormat
Information about dimensions, depth and pixel type of the image - inNewWidth
- Type: System.Int32
Width of an image created by output spatial map application - inNewHeight
- Type: System.Int32
Height of an image created by output spatial map application - inInterpolationMethod
- Type: AvlNet.InterpolationMethod
Interpolation method used in extraction of image pixel values - outResizeMap
- Type: AvlNet.SpatialMap
Output spatial map - outOutputRegion
- Type: AvlNet.Region
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.
