Reputation: 3
How do I convert text into an image in HTML
Thank you.
Upvotes: 0
Views: 1056
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:
Upvotes: 0
Reputation: 7451
There is some online converter called http://www.text-image.com/ which makes your task simple
Upvotes: 1
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
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