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)

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
inNewWidth
Type: System.Int32
inNewHeight
Type: System.Int32
inInterpolationMethod
Type: AvlNet.InterpolationMethod
outResizeMap
Type: AvlNet.SpatialMap
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.

See also