From ccd17a3bf32c03d6c3040fa8e8413c22c1a9d1c2 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 27 Sep 2013 14:44:25 -0700 Subject: [PATCH] add link to SVG gradient stops in colorize-alpha notes --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e0c5aa7b..bb6c9f7f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,7 +100,8 @@ Summary: The 2.2.0 release is primarily a performance and stability release. The - Added `colorize-alpha` image filter that applies user provided color gradients based on level of alpha. Accepts one or more colors separated by commas. Each color can be paired with an `offset` value separated - by a space that is either `0-100%` or `0.0-1.0`. An `offset` of `0` is implied and the default. A simple example + by a space that is either `0-100%` or `0.0-1.0`. An `offset` of `0` is implied and the default. For background + on where this design came from see http://www.w3.org/TR/SVG/pservers.html#GradientStops. A simple example of colorizing alpha into a "rainbow" is `colorize-alpha(blue,cyan,lightgreen, yellow, orange, red)`. An example of using offsets and the variety of supported color encodings is to produce a ramp which sharp contrast between `blue` and `cyan` is `colorize-alpha(blue 30%, cyan, yellow 0.7 , rgb(0%,80%,0%) 90%)` (#1371).