Pigmnts 0.6.0
The library has been updated with certain parameters for a potential speedup of the palette creation process. They include:
⚠️ Max iterations limit: Limits the number of iterations made in the clustering process. It can be set via themax_iter
parameter inpigments_pixels
function. Defaults to 300.- Tolerance limit: Prevents additional iterations in the clustering step when the changes in the means are under the tolerance limit. Set to 0.0001.
Some minor additions:
- New
from_rgb
method in LAB struct to create a LAB color directly from RGB values without intermediate RGB structs.