(PHP 4, PHP 5, PHP 7, PHP 8)
imagecopy — 拷貝圖像的一部分
$dst_im,$src_im,$dst_x,$dst_y,$src_x,$src_y,$src_w,$src_h
將 src_im 圖像中坐標從
src_x,src_y
開始,寬度為 src_w,高度為 src_h
的一部分拷貝到
dst_im 圖像中坐標為
dst_x 和 dst_y 的位置上。