Scripting API

<<DecreaseColorsTo64K Main Index DefloatSelection>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

DecreaseColorsToX

Script Name: DecreaseColorsToX
Name: DecreaseColorsToX
Library: CmdColor
Description: Decreases the number of colors in the image to an arbitrary number in the range of 2-256.
Status bar text: Decrease the number of colors to a value you select
Tool tip text: Decrease Colors to X
Undo text: Decrease Colors to X
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
BoostBoostEnumeration (Boolean)Boosts color weights in the selection rectangle - ignored if there is no selectionNoFalse
Boost AmountBoostAmountIntegerBoosts selected colors by this amountNo1110
Number of ColorsNumColorsIntegerNumber of colors to reduce to.No2562256
Include Windows ColorsIncludeWindowsColorsEnumeration (Boolean)Includes the 16 Windows standard colors in the paletteNoFalse
Reduction MethodReductionMethodEnumeration (ReductionMethod)Selects the color reduction (dither) methodNoNearestColorMatch
Palette MethodPaletteMethodEnumeration (PaletteMethod)Selects the palette or palette generation methodNoOptimizedMedianCut
Reduce BleedingReduceBleedingEnumeration (Boolean)Reduces color bleeding and ditheringNoFalse
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
Generally false. If set to True then FastRedo will not be used for this command. This might be for performance or other reasons: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
IsPreviewable: true
IsProofable: true
HelpID:32861
DlgHasPresets: true
IsEditable: true