Skip to content

3.0.0: The Gamut Mapping & Improved API Release

Compare
Choose a tag to compare
@waacton waacton released this 05 Nov 17:28
· 103 commits to main since this release
  • Improve creation API
    • e.g. Unicolour.FromRgb(...)new Unicolour(ColourSpace.Rgb, ...)
  • Improve interpolation API
    • e.g. .InterpolateRgb(unicolour2, ...).Mix(ColourSpace.Rgb, ...)
  • Improve difference API
    • e.g. .DeltaE76(...).Difference(DeltaE.Cie76, ...)
  • Add gamut mapping
    • .IsDisplayable.IsInDisplayGamut
  • Support premultiplied alpha interpolation
    • Enabled by default; for old behaviour set .Mix(premultiplyAlpha: false)
  • Expose linear RGB as a core colour space and enable linear RGB interpolation
    • .Rgb.Linear.RgbLinear

🎁 NuGet Package