CodeCarvings.Piczard
GetQuantizedImage(Image,IQuantizableFormatEncoderParams) Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > IImageQuantizerPlugin Interface > GetQuantizedImage Method : GetQuantizedImage(Image,IQuantizableFormatEncoderParams) Method

image
The source image to quantize.
formatEncoderParams
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)  
Overloads Function GetQuantizedImage( _
   ByVal image As Image, _
   ByVal formatEncoderParams As IQuantizableFormatEncoderParams _
) As PluginOperationResult(Of Bitmap)

Parameters

image
The source image to quantize.
formatEncoderParams
The FormatEncoderParams object containing settings that control the image quantization.

Return Value

PluginOperationResult<Bitmap> that indicates if the Plugin has handled the request.
In case of success (Handled=true) the Value property contains the quantized Bitmap.

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.