CodeCarvings.Piczard
GetPerformImageQuantization Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > ImageQuantizer Class : GetPerformImageQuantization Method

image
The Image that has to be checked for image quantization.
formatEncoderParams
The FormatEncoderParams object containing settings that control the image quantization.
Gets a value indicating whether an Image has to be quantized before saving; the result is calculated according to the settings contained in the specified FormatEncoderParams object.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetPerformImageQuantization( _
   ByVal image As Image, _
   ByVal formatEncoderParams As FormatEncoderParams _
) As Boolean
C#  
public static bool GetPerformImageQuantization( 
   Image image,
   FormatEncoderParams formatEncoderParams
)

Parameters

image
The Image that has to be checked for image quantization.
formatEncoderParams
The FormatEncoderParams object containing settings that control the image quantization.

Return Value

true if the Image has to be quantized before saving; otherwise, false.

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.