Provider
Effect
Applies visual effects to an image generated by another provider.
| Many of the effects can have very poor performance. |
| This can only be used with layers that return JPEG or PNG images. The result always outputs in PNG format. |
Example
-
YAML
-
JSON
provider:
name: effect
mode: grayscale
provider:
name: proxy
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
{
"provider": {
"name": "effect",
"mode": "grayscale",
"provider": {
"name": "proxy",
"url": "https://tile.openstreetmap.org/{z}/{x}/{y}.png"
}
}
}
Configuration
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
|
The provider to get the imagery to apply the effect to |
Provider |
Yes |
None |
|
The effect to apply. Examples of the modes. Possible values: |
String |
Yes |
None |
|
The intensity of the effect, exact meaning/value range depends on mode. Only applicable if mode is one of: |
Float |
No |
0 |