Skip to content

New conversion engine, major API breaking changes

Choose a tag to compare

@tompazourek tompazourek released this 06 Jul 18:33
· 220 commits to master since this release
0b25e15

Compared to v2:

  • See Changes between v2 and v3 documentation page.
  • Changed the conversion engine to be more extensible and less hardcoded based on conversion strategies. This should allow for easier adding of more color spaces, and also extensibility with custom color spaces.
  • New documentation.
  • Removed the almighty ColourfulConverter and added new ConversionBuilder that builds a converter that you can use afterwards.
  • Started using double[] and double[,] for vectors and matrices.
  • Using more of the in modifiers.
  • Replaced get-only properties on color spaces with readonly public fields.
  • Removed range checking and range cropping during conversions.
  • Added new Jzazbz and JzCzhz color spaces.
  • Lots of new tests and code coverage..
  • Removed range cropping (helper now available as RangeHelper).
  • Lots of minor tweaks and fixes discovered during testing.
  • Added InvalidConversionException and MissingConversionMetadataException.
  • Updated packages and versions.
  • Added .NET 5 build.
  • Renamed RangeHelper to ClampHelper.
  • Added RGBColor.ToRGB8Bit() helper.
  • Added .Clamp() and .NormalizeIntensity() utils for RGBColor (#62).
  • Added deconstructors for colors (#81).
  • Added support for System.Drawing.Color conversions with RGBColor. (#92, thanks @tonyqus)
  • Renamed Grey to Gray.