php 이런기능이 있나여?? 채택완료
도치즈
11년 전
조회 4,046
php 튜토리얼 사이트에서 폰트를 이미지화하는건 찾았는데
현재 페이지를 이미지화하는 소스코드는 안보이네요;; ㅠㅠ
혹시 현재 보이는 페이지를 이미지로 출력하는 튜토리얼은 어디있는지 아시는분있으신가요??
header("Content-Type: image/png");
$im = @imagecreate(110, 20)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
imagedestroy($im);
?>
$im = @imagecreate(110, 20)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
imagedestroy($im);
?>
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인