Releases: mazznoer/colorgrad-rs
Releases · mazznoer/colorgrad-rs
v0.7.0
Added
BlendMode::Lab
, optional feature, can be enabled usingfeatures = ["lab"]
in Cargo.tomlGradientBuilder
new methodcss()
for parsing css gradient format
Changed
f64
->f32
.GimpGradient
is now a optional feature, can be enabled usingfeatures = ["ggr"]
in Cargo.toml- Preset gradients move to submodule
preset
. - In previous version
Gradient
is a struct holdingLinearGradient
,BasisGradient
, etc in aBox
.
NowGradient
is a trait.LinearGradient
,BasisGradient
, etc is now exposed directy,
and they are implementingGradient
trait. CustomGradient
renamed toGradientBuilder
CustomGradientError
renamed 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.