Resize filter¶
Description¶
Input and output¶
- Works with any input channel.
- Output channels are the same as input.
- Changes the buffer dimensions
- Removes denoising meta-data
Parameters¶
name | type | description |
---|---|---|
unit | list | The unit for width and height |
width | integer | The new image width. Setting it to zero causes the new width to be adapted automatically for keeping aspect ratio |
height | integer | The new image height. Setting it to zero causes the new height to be adapted automatically for keeping aspect ratio |
sharpness | real | The sharpness of the resize algorithm. From 0.0 to 1.0 |
Ocean XML 5.6 example¶
<filter type="resize" name="#" unit="pixels" width="1920" height="0" sharpness="0.5"/>