Constructors
Construct a new Builder using a source ImageBitmap
Functions
Add a filter to be able to have fine grained control over which colors are allowed in the resulting palette.
Add a target profile to be generated in the palette.
Clear all added filters. This includes any default filters added automatically by Palette.
Clear any previously region set via .setRegion.
Clear all added targets. This includes any default targets added automatically by Palette.
Set the maximum number of colors to use in the quantization step when using a ImageBitmap as the source.
Set the resize value when using a ImageBitmap as the source. If the bitmap's area is greater than the value specified, then the bitmap will be resized so that its area matches area
. If the bitmap is smaller or equal, the original is used as-is.