addFilter

Add a filter to be able to have fine grained control over which colors are allowed in the resulting palette.

Parameters

filter

filter to add.