FilteredImage QML Type
An image with filter effects applied. More...
Import Statement: | import Sailfish.Silica.Background 1.0 |
Inherited By: | ThemeWallpaper
|
Properties
Detailed Description
Note: This QML type is under development and is subject to change.
The FilteredImage type allows a series of filter effects to be applied to a source image or texture provider item to generate a filtered image which can then be displayed or used as a texture provider to another item.
The following filters are supported:
- ConvolutionFilter Applies a symmetric convolution kernel to the image. Mostly used to smooth or blur an image.
- ResizeFilter Resizes the image.
- ShaderFilter Executes a GLSL shader program to perform an arbitrary transform on an image.
- SequenceFilter Collects a sequence of other filters into a single filter definition.
- RepeatFilter Applies a sequence of other filters a fixed number of times.
The results of filtering are cached and will not be updated unless a source item's content is also updated. This allows some leeway to perform more expensive image processing than would be appropriate on an item that has to be redrawn every frame.
Property Documentation
An item which will be used as a source for the filtered image. If both this and the Image source property are set this will have priority.
The source item must be a texture provider item, this can be an Image, a ShaderEffectSource, a FilteredImage, or any other item with layer.enabled: true
.