textorize-server — Easy textorize images via HTML image tags in PHP
textorize-server allows you to build textorize images via simple HTML image tags. textorize creates crisp subpixel rendered text images via RubyCocoa in the command-line. textorize is an awesome bit of software but it can be a pain to generate all the images you need. textorize-server makes it super easy.
Here’s how to use it
<img src="/textorize-server/img.php?m=just_a_test&f=arial&s=20&c=000000&g=ffffff" alt="just_a_test">
Just add a simple IMG tag in your HTML and textorize-server will give you this beautifully subpixel-rendered bit of text:
![]()
Installation
To run textorize-server, you’ll need to install textorize on your Mac like so:
$ gem sources -a http://gems.github.com $ sudo gem install madrobby-textorize
Then clone textorize-server into your project’s docroot like so:
$ cd <your project's web root> $ git clone git://github.com/thrashr888/textorize-server.git textorize-server $ chmod 777 textorize/cache
textorize-server is hosted at GitHub (http://github.com/thrashr888/textorize-server). There you’ll find more thorough documentation about textorize-server.