주를 받고 여러 PNG 파일을 병합하려고 ...하지만 메신저 하나에 이상 3 PNG 파일을 병합하는 것을 시도하고 오류를PHP : 함께 내가 여기서 잘못하고하고 있는지 어떤 오류
경고 던지고있다 : imagepng을()는 [function.imagepng] : GD-PNG 오류 : 팔레트에없는 색상 C에서 : 라인 \ WAMP \ WWW \ 지프 \ 공용 \ 테스트 \의 png_2.php 22
$x = 300;
$y = 300;
$final_img = imagecreate($x,$y) or die("Failed in call to
imagecreate()
\n");
$image_1 = imagecreatefrompng('ae.png');
$image_2 = imagecreatefrompng('ad.png');
$image_3 = imagecreatefrompng('ao.png');
imagecopy($image_1, $final_img, 0, 0, 0, 0, $x, $y);
imagecopy($image_2, $final_img, 0, 0, 0, 0, $x, $y);
imagecopy($image_3, $final_img, 0, 0, 0, 0, $x, $y);
imagealphablending($final_img, false);
imagesavealpha($final_img, true);
imagepng($final_img, 'final_img.png');
어느 라인? – Veger