CodeCarvings.Piczard
MaxColors Property
See Also  Send Feedback
CodeCarvings.Piczard Namespace > PngFormatEncoderParams Class : MaxColors Property

Gets or sets the maximum number of colors the quantized image can contain.

Syntax

Visual Basic (Declaration)  
Public Overridable Property MaxColors As Integer
C#  
public virtual int MaxColors {get; set;}

Return Value

An integer value indicating the "maximum number of colors" passed to quantization algorithms.
The default value is taken from CoreSettings.ImageQuantizer.DefaultMaxColors.

Remarks

This property is ignored if ConvertToIndexed is set to 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.