Open baseplate-admin opened 1 month ago
Hi, i have seen very slight differences, 1-3 pixels from the output from colorthief-py and color-theif
colorthief-py
color-theif
For example:
(201, 160, 118) (202, 160, 118) [(30, 169, 166), (179, 51, 55), (219, 176, 127), (248, 233, 225), (160, 98, 87), (63, 47, 42), (131, 163, 107), (179, 119, 52), (237, 220, 155)] [(31, 167, 164), (179, 51, 55), (219, 176, 127), (248, 233, 225), (160, 98, 87), (62, 44, 38), (131, 162, 106), (178, 118, 51), (242, 220, 157)]
This isn't much, but do you think i can help in any way to remove this difference?
Relevant codes: https://github.com/baseplate-admin/modern_colorthief/blob/7084bf0d59f1b8ae8ca904d3cdfe938ec22e85fe/src/lib.rs#L16-L38
I don't know about the Python port, but this library should match the JS version. If it does - then good. If not - feel free to send patches.
Hi, i have seen very slight differences, 1-3 pixels from the output from
colorthief-py
andcolor-theif
For example:
This isn't much, but do you think i can help in any way to remove this difference?
Relevant codes: https://github.com/baseplate-admin/modern_colorthief/blob/7084bf0d59f1b8ae8ca904d3cdfe938ec22e85fe/src/lib.rs#L16-L38