back to home page

str2img displays a string of text as an image. It uses encoding,
so the string cannot be easily discovered from the URL.

text to display (32 char max):
font filename:
font size (pixels, 100 max):
font angle (degrees, 360 max):
text color (hex): #
background color (hex): #

Resulting image:

str2img is 100% UTF-8 compliant. The font you choose must support your language's character set. The GNU unifont.ttf supports nearly everything.

If you want more fonts, you must add them to the font folder yourself. The easiest method is to apt-get the msttcorefonts package Ubuntu linux and use those. arial.ttf renders very nice from that set. (try it above!)

Example how to install unifont:

Unzip, copy unifont.ttf into the fonts directory.

Example how to install those fonts in Ubuntu:

sudo apt-get install msttcorefonts
cp /usr/share/fonts/truetype/msttcorefonts/arial.ttf ./fonts/
cp /usr/share/fonts/truetype/msttcorefonts/comic.ttf ./fonts/

Choose unifont.ttf, and go here and cut/paste some different languages into the text field above, you will see that the unifont does a great job!