AForge.Imaging.Filters.ResizeBilinear.ResizeBilinear C# (CSharp) Method

ResizeBilinear() public method

Initializes a new instance of the ResizeBilinear class.
public ResizeBilinear ( int newWidth, int newHeight ) : System
newWidth int Width of the new image.
newHeight int Height of the new image.
return System
		public ResizeBilinear( int newWidth, int newHeight ) :
            base( newWidth, newHeight )
		{
            formatTranslations[PixelFormat.Format8bppIndexed] = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format24bppRgb]    = PixelFormat.Format24bppRgb;
            formatTranslations[PixelFormat.Format32bppRgb]    = PixelFormat.Format32bppRgb;
            formatTranslations[PixelFormat.Format32bppArgb]   = PixelFormat.Format32bppArgb;
        }