Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
<feComponentTransfer>

Defines a filter primitive that applies per-channel transfer functions (lookup tables) to modify the RGBA components of the input image.

Child elements <feFuncR>, <feFuncG>, <feFuncB>, <feFuncA> define the transfer function for each channel.

Example usage:

<filter id="brighten">
<feComponentTransfer>
<feFuncR type="linear" slope="1.5" />
<feFuncG type="linear" slope="1.5" />
<feFuncB type="linear" slope="1.5" />
</feComponentTransfer>
</filter>

Source gradient table-remapped (posterized)

This element takes no attributes of its own; the per-channel transfer functions are defined by child <feFuncR>, <feFuncG>, <feFuncB>, and <feFuncA> elements.

Inherits standard filter primitive attributes (in, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.