This component is obsolete and its use in filters is not recommended. Use the recent version of the component.
The Offset component shifts the source image horizontally or vertically by a specified distance. Since both horizontal and vertical offsets can be defined by map components, Offset can be used for a wide range of effects and image manipulations, such as distortions, zooming, stretch, rotation and much more. This is a map component, it can be located in the Processing category on the Components Bar.
Provides the source image. This is a required input – in order to make Offset work, this input must be connected.
Offset H: Map Input
Defines the amount of horizontal shift. The value is measured as a percentage of the global parameter Size, where negative values shift the image leftwards and positive values shift it rightwards. For example, if Size is set to 600 pixels, and Offset H is set to -50, the image will be shifted leftwards by 300 pixels. The actual amount of offset is also affected by the Percentage parameter.
Since Offset H is a map input, its value can be controlled separately for different image areas by connecting a map component. In this case, the output brightness of the map component defines the offset amount: black areas correspond to offset of -100, white areas to offset of 100, and the offset amounts in-between are represented by intermediate brightness levels.
Offset V: Map Input
Defines the amount of vertical shift. The value is measured as a percentage of the global parameter Size, where negative values shift the image upwards and positive values shift it downwards. For example, if Size is set to 600 pixels, and Offset V is set to 10, the image will be shifted downwards by 60 pixels. The actual amount of offset is also affected by the Percentage parameter.
Since Offset V is a map input, its value can be controlled separately for different image areas by connecting a map component. In this case, the output brightness of the map component defines the offset amount: black areas correspond to offset of -100, white areas to offset of 100, and the offset amounts in-between are represented by intermediate brightness levels.
Percentage: Map Input
Serves as a multiplier to both Offset H and Offset V. This parameter is useful for adjusting the 'strength' of the effect produced by Offset without having to modify Offset H and Offset V separately. When Percentage is set to 0, Offset H and Offset V have no effect. Since Percentage is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.