CodeCarvings.Piczard
GetQuantizedImage(Image,IQuantizableFormatEncoderParams) Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins.Foundation Namespace > BuiltinImageQuantizer Class > GetQuantizedImage Method : GetQuantizedImage(Image,IQuantizableFormatEncoderParams) Method

image
The Image to quantize.
formatEncoderParam
The FormatEncoderParams object containing settings that control the image quantization.
Gets a quantized copy of an Image using the settings contained in the specified FormatEncoderParams object.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function GetQuantizedImage( _
   ByVal image As Image, _
   ByVal formatEncoderParam As IQuantizableFormatEncoderParams _
) As Bitmap
C#  
public static Bitmap GetQuantizedImage( 
   Image image,
   IQuantizableFormatEncoderParams formatEncoderParam
)

Parameters

image
The Image to quantize.
formatEncoderParam
The FormatEncoderParams object containing settings that control the image quantization.

Return Value

A new Bitmap object containing a quantized version of the source Image.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.