Scripting API

<<DecreaseColorsTo16Million Main Index DecreaseColorsTo256>>
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

DecreaseColorsTo2

Script Name: DecreaseColorsTo2
Name: Decrease Colors to 2
Library: CmdColor
Description: Makes the image black and white.
Status bar text: Decrease the number of colors to 2
Tool tip text: Decrease Colors to 2
Undo text: Decrease Colors to 2
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Palette ComponentPaletteComponentEnumeration (PaletteComponent)Selects the color componentNoGreyValues
DiffusionErrorDiffusionEnumeration (ErrorDiffusion)Selects type of error diffusionNoFloydSteinberg
Reduction MethodReductionMethodEnumeration (ReductionMethod)Selects the color reduction (dither) methodNoNearestColorMatch
WeightedWeightedEnumeration (Boolean)Uses weighted colorsNoTrue
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
IsPreviewable: true
IsProofable: true
HelpID:32856
DlgHasPresets: true
IsEditable: true