2011-08-01 24 views

答えて

1

$imtop$imbottomは私たちの画像

//imagesx($imtop)==imagesx($imbottom) 
$new=imagecreatetruecolor(imagesx($imtop),imagesy($imtop)+imagesy($imbottom)); 
imagecopy($new,$imtop,0,0,0,0,imagesx($imtop),imagesy($imtop)); 
imagecopy($new,$imbottom,0,imagesy($imtop),0,0,imagesx($imbottom),imagesy($imbottom)); 
//use $new 
あります
関連する問題