chromatic 0.1.4
chromatic: ^0.1.4 copied to clipboard
Color science for Dart: conversions between sRGB, Lab, XYZ, LCH, HSL and more. Delta E, chromatic adaptation, proper sRGB EOTF.
Changelog #
0.1.4 #
- Fix: 0.1.3 was published with a CHANGELOG that did not include its own version entry (pana flagged it as invalid). This release has a correct CHANGELOG. No other changes.
0.1.3 #
- Add
.pubignoreto excludedemo/,tool/, and.github/from the published archive (0.1.2 accidentally included the demo Flutter app, bloating the download by ~50 KB). No functional changes.
0.1.2 #
- Point
homepageat the new interactive demo site: https://enraio.github.io/chromatic/ - Add
documentationlink in pubspec. - No code changes; ports, tests, and benchmarks are unchanged from 0.1.1.
0.1.1 #
- Shorten package description to meet pub.dev 60–180 character guideline.
0.1.0 #
Initial release. Port of Python colormath with identical math.
Added #
- 10 color space types: sRGB, Adobe RGB, Apple RGB, BT.2020, XYZ, xyY, Lab, LCH(ab), Luv, LCH(uv), HSL, HSV, CMY, CMYK, IPT
- Color space conversions between all supported spaces
- Delta E formulas: CIE76, CIE94, CIEDE2000, CMC l:c
- Chromatic adaptation: Bradford, von Kries, XYZ scaling
- Proper sRGB EOTF (piecewise, not simple power gamma)
- Proper BT.2020 transfer function
- Hex parsing (6-digit, 3-digit shorthand, with or without
#) - 11 illuminants for 2° observer, 4 for 10°
- 690+ test fixtures validated against Python colormath output
- Sharma 2005 CIEDE2000 reference dataset (34 pairs) integration tests
- Benchmark suite comparing against Python colormath