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 the max_iter parameter in pigments_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.
Pigmnts CLI 0.1.1 :globe_with_meridians:
Add support for external HTTP(S) image URLs.
Limit the image dimensions to 512px from 800px while maintaining the aspect ratio.
Pigmnts Libary 0.6.0 :cyclone:
The library has been updated with certain parameters for a potential speedup of the palette creation process. They include:
max_iter
parameter inpigments_pixels
function. Defaults to 300.Some minor additions:
from_rgb
method in LAB struct to create a LAB color directly from RGB values without intermediate RGB structs.Pigmnts CLI 0.1.1 :globe_with_meridians:
512px
from800px
while maintaining the aspect ratio.Fixes #18 Fixes #15