Releases: mazznoer/colorgrad-rs
Releases · mazznoer/colorgrad-rs
colorgrad v0.7.2
- Added
Gradient::colors_iter()&GradientColors
Full Changelog: v0.7.1...v0.7.2
v0.7.1
v0.7.0
Added
BlendMode::Lab, optional feature, can be enabled usingfeatures = ["lab"]in Cargo.tomlGradientBuildernew methodcss()for parsing css gradient format
Changed
f64->f32.GimpGradientis now a optional feature, can be enabled usingfeatures = ["ggr"]in Cargo.toml- Preset gradients move to submodule
preset. - In previous version
Gradientis a struct holdingLinearGradient,BasisGradient, etc in aBox.
NowGradientis a trait.LinearGradient,BasisGradient, etc is now exposed directy,
and they are implementingGradienttrait. CustomGradientrenamed toGradientBuilderCustomGradientErrorrenamed toGradientBuilderError
Removed
BlendMode::Hsv
Fixed
- Error parsing GIMP gradient with UTF-8 BOM.
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.0
v0.3.0
- Rename BlendMode::Lrgb -> BlendMode::LinearRgb
- Add BlendMode::Oklab
- Support for smoothness in hard-edged gradient.
- Rename lots of preset gradients to snake case:
- brbg -> br_bg
- piyg -> pi_yg
- and others.
- Using uniform B-splines to interpolate preset gradients.
- Some bug fixes.