Also, please mention that only one of input/output rect or scaleX/scaleY can be used. If both are provided, scaleX/scaleY will be ignored.