Skip to content
컴퓨터잡담
2010.09.29 18:20

PHP Text to Image

조회 수 13944 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄


PHP Text to Image

PHP Text to Image

Change the settings and the click Create

TextThe text to display
Rotation0=normal 90=sideways
Font SizePoints
Font
PaddingSpace around the image
Transparent 
Fore Colour G  B (0-255)
Back Colour G  B (0-255)
 (pop-up window) 

Description

This script is a means to convert a string of text into an image. This has some simple uses such as displaying text such as email address that cannot be programmatically found. This can help to reduce the possibility of your email address being picked up by web crawlers and used for junk mail.

How To Use

To use the example interface above, simply modify or insert the string of text. You can edit any of the other settings, but this is optional.

Further Uses and Ideas:

How it Works:

The PHP Script

contact us for more information

Further Help

For anyone finding problems using this...

(1) Please test this example to ensure imagecreate works on your server...

<?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);
?>

(2) Make sure to use the example at the top of this page by sending POST variables from your form. For example msg,font,size ...

로그인 후 댓글쓰기가 가능합니다.

?

List of Articles
번호 분류 제목 날짜 조회 수
364 컴퓨터잡담 램디스크 숨기는 방법 2 2010.10.02 5666
363 컴퓨터잡담 autohotkey 변수의 이해 2010.10.02 20530
362 유용한상식 경주 최부자집의 가훈 2 2010.10.01 19747
361 주식 증권사별 HTS 다운로드 3 2010.10.01 8380
360 컴퓨터잡담 인터넷익스플로러 로딩속도 빠르게 하는방법 1 2 2010.10.01 12097
359 컴퓨터잡담 -응답없음- 으로 멈춰버린 프로그램 대기시간 줄이는 방법 2010.10.01 7815
358 컴퓨터잡담 스누피 고스트 file 2010.10.01 6027
357 컴퓨터잡담 그림안에 투명텍스트박스 넣기. 2 2010.09.29 9564
» 컴퓨터잡담 PHP Text to Image 1 2010.09.29 13944
355 컴퓨터잡담 오류 socket error #10061 connection 3 2 2010.09.25 53890
Board Pagination Prev 1 ... 197 198 199 200 201 ... 235 Next
/ 235

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소