Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Text to image on fly with javascript or jquery

Is there any way or method to convert text (string) to image with javascript or jquery? I cant find any way to do this. Whats the best?

I don't want to use php or asp.net to do this. Thanks for any tricks and help.

like image 700
Morteza Avatar asked Nov 28 '11 07:11

Morteza


1 Answers

Use the canvas element and draw text onto it.

jsFiddle.

like image 139
alex Avatar answered Oct 19 '22 23:10

alex