|
Written by Administrator
|
|
Wednesday, 11 April 2007 |

Sometime we need to show data but not allowing user to copy it. Or we want to show our collection of font like in www.mixedforyou.com/font. To solve those problems, we can change the text to a picture. What I did was using Text_PNG class...
Sometime we need to show data but not allowing user to copy it. In example, a babyname website that show babynames that cannot copied and collected by the user or someone who want to make another babyname website ( i had been that kind of user :) ). Or we want to show our collection of font like in www.mixedforyou.com/font.
To solve those problems can change the text to a picture. What I did was using Text_PNG class. Taken from www.phpclasses.net and made by Herman Veluwenkamp. With a little modification I can show text in the different font that saved in any folder by looping the ttf files and then, by calling : ttf2png("abcdefghijkABCDEFGHIJK",20,$ttf_file); that function will show string abcdefghijkABCDEFGHIJK in font is $ttf_file with size is 20.
|
|
Last Updated ( Wednesday, 11 April 2007 )
|
Kuliah TKI - Blog da...
mm Apparently, 21,000 boots imported by
Clas-class php yang ...
mm Apparently, 21,000 boots imported by
Kuliah TK Internet :...
mm Apparently, 21,000 boots imported by
The Power of GIS - U...
mm Apparently, 21,000 boots imported by
Kuliah TK Internet :...
mm Apparently, 21,000 boots imported by
JPGraph - membuat gr...
timberland - mm Apparently, 21,000 bo...
Kuliah TKI : Ajax - ...
mm Apparently, 21,000 boots imported by
Banner spesial untuk...
mm Apparently, 21,000 boots imported by