maxWidthHeight
interpSelect:
Nearest
Linear
Cubic (Catmull-Rom)
Monotone Cubic (Fritsch-Carlson)
toneCanvas
srcCanvas
dstCanvas