Scaler
| Name | Type | Description |
|---|---|---|
| kind | enum defaultzscale | The type of scaling to be applied. default: default |
| algorithm | enum bilinearbicubicnearest_neighborlanczosbicubic_splinespline16spline36sinc | The algorithm to be used for scaling operations. This will apply to both up-scale and down-scale. These may be set separately using the upscale_algorithm and downscale_algorithm parameters. |
| upscale_algorithm | enum bilinearbicubicnearest_neighborlanczosbicubic_splinespline16spline36sinc | The algorithm to be used for up-scaling operations. |
| downscale_algorithm | enum bilinearbicubicnearest_neighborlanczosbicubic_splinespline16spline36sinc | The algorithm to be used for down-scaling operations. |
| config_string | string | The configuration string to be used with the specified scaling function. |
| apply_always | boolean | Always use the specified scaling function. |
Example scaler
{
"uid": "analyze_task",
"kind": "analyze",
"payload": {
"source_pipeline": {
"scaler": {
"kind": "zscale",
"config_string": "dither=error_diffusion",
"apply_always": true
}
}
}
}