Rusty.Metal Posted March 30, 2003 Share Posted March 30, 2003 $myimage = ImageCreateFromJpeg("base_avatar.jpg"); $black = ImageColorAllocate($myimage, 0, 0, 0); //colour (rgb last 3 numbers) $date = date("F jS Y"); $day = date("l"); $year = date("Y"); $time = date("g:ia"); ImageString($myimage, 5, 25, 150, $day, $black); ImageString($myimage, 5, 25, 200, $date, $black); do i use the ImageString Function to generator more then one peice of text, or how do i generator more then once peice of text? Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted March 30, 2003 Veteran Share Posted March 30, 2003 Use if for more than one peice of text, for each line, or section, or color change. Link to comment Share on other sites More sharing options...
0 Rusty.Metal Posted March 31, 2003 Author Share Posted March 31, 2003 (edited) <edit> got it to work Edited March 31, 2003 by aaronsam Link to comment Share on other sites More sharing options...
Question
Rusty.Metal
$myimage = ImageCreateFromJpeg("base_avatar.jpg"); $black = ImageColorAllocate($myimage, 0, 0, 0); //colour (rgb last 3 numbers) $date = date("F jS Y"); $day = date("l"); $year = date("Y"); $time = date("g:ia"); ImageString($myimage, 5, 25, 150, $day, $black); ImageString($myimage, 5, 25, 200, $date, $black);do i use the ImageString Function to generator more then one peice of text, or how do i generator more then once peice of text?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts