Resize(Int32,Int32,Int32,Int32,Int32,Interpolation) Method
Creates a new resized bitmap.
Syntax
public static int[] Resize( int* pixels, int widthSource, int heightSource, int width, int height, WriteableBitmapExtensions.Interpolation interpolation )
Parameters
- pixels
- The source pixels.
- widthSource
- The width of the source pixels.
- heightSource
- The height of the source pixels.
- width
- The new desired width.
- height
- The new desired height.
- interpolation
- The interpolation method that should be used.
Return Value
A new bitmap that is a resized version of the input.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also