swscale: scale the picture using the visible dimension.