This release has an MSRV of 1.82.
Added
-
Add
interpolate_unpremultipliedandgradient_unpremultipliedfor interpolating in unpremultiplied (straight) alpha space.While such interpolation will often give perceptually undesired results, this allows using Color to implement rendering features where such interpolation is specified, like in the HTML Canvas element. (#185 by @sagudev)
Changed
- Specify XYZ-D65 color space conversion matrices as exact rationals. (#171 by @tomcur)
- Improve documentation of
AlphaColorvsPremulColorto clarify alpha premultiplication, and make both types more discoverable from each other. (#190 by @tomcur)
New Contributors
- @ProgramCrafter made their first contribution in #186
- @sagudev made their first contribution in #191
Full Changelog: v0.3.1...v0.3.2