maxWidthHeight
stride
srcCanvas
dstCanvas