
# Center->TopLeftBottomRight -Only EXPAND mode valid
clipx = clip1.SWScale(colorspace="RGB32")
clipy = clip2.SWScale(colorspace="RGB32")
trans = ResizeOverlay(clipx, clipy, w_start=0, h_start=0, w_end=clip1.Width, h_end=clip1.Height).SWScale(colorspace="YV12")