Page 1 of 1

How to Create Image from HTML code

Posted: Tue Feb 05, 2008 2:07 am
by younker1983
Hi..

I want to create image from Html Code like

$data="I Want to Create Image <br> From Text";

Output in Image like this :

I Want to Create Image
From Text

Thanks in Advance

Re: How to Create Image from HTML code

Posted: Tue Feb 05, 2008 3:59 am
by Rovas
First you need to interpret the html tags what does one, second you use functions imagettfbbox;
imagettftext;
imagestring