maxWidthHeight::
linear:
amount::
srcCanvas dstCanvas
(c) https://twitter.com/soramimi_jp/status/1061053416061906946