Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
749 stars 60 forks source link

Implement LMS #400

Closed Ogeon closed 2 months ago

Ogeon commented 3 months ago

Add support for the LMS color space.

Closed Issues

codspeed-hq[bot] commented 3 months ago

CodSpeed Performance Report

Merging #400 will degrade performances by 62.33%

Comparing lms (2be4068) with master (148f406)

Summary

❌ 2 regressions ✅ 44 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark master lms Change
matrix_inverse 215.6 ns 572.2 ns -62.33%
hsv to hsl 16 µs 18.2 µs -12.18%
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 83.39223% with 47 lines in your changes are missing coverage. Please review.

Project coverage is 83.34%. Comparing base (148f406) to head (2be4068).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #400 +/- ## ========================================== - Coverage 83.35% 83.34% -0.01% ========================================== Files 125 127 +2 Lines 20184 20418 +234 Branches 20184 20418 +234 ========================================== + Hits 16824 17018 +194 - Misses 3203 3243 +40 Partials 157 157 ``` | [Components](https://app.codecov.io/gh/Ogeon/palette/pull/400/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erik+Hedvall) | Coverage Δ | | |---|---|---| | [palette](https://app.codecov.io/gh/Ogeon/palette/pull/400/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erik+Hedvall) | `83.44% <84.06%> (-0.02%)` | :arrow_down: | | [palette_derive](https://app.codecov.io/gh/Ogeon/palette/pull/400/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erik+Hedvall) | `81.98% <78.12%> (+0.24%)` | :arrow_up: |