user440392
user440392

Reputation: 3

text convert into an image

How do I convert text into an image in HTML

Thank you.

Upvotes: 0

Views: 1056

Answers (4)

Sarfraz
Sarfraz

Reputation: 382696

As suggested by @Pekka, you need some programming language in order to do that. Here is an online resource you may want to use to convert text into an image:

http://text-image.com/

Upvotes: 0

Senthil Kumar Bhaskaran
Senthil Kumar Bhaskaran

Reputation: 7451

There is some online converter called http://www.text-image.com/ which makes your task simple

Upvotes: 1

onurbaysan
onurbaysan

Reputation: 1258

Here is the PHP code for it.

http://php.net/manual/en/function.imagestring.php

I think you want to do a capctha system. Here is a tutorial to do this.

http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/

Upvotes: 0

Pekka
Pekka

Reputation: 449435

You can't generate an image in HTML. You will need the help of a programming language for that - PHP, ASP, Python, Ruby.... on the server side, or (more unusually) JavaScript and Canvas on the client side.

There are many "text as image" generation scripts in the PHP world, for example, but you will need server-side PHP for those to work.

Upvotes: 4

Related Questions