What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » Edit a sig for me? Identify a font to?

Edit a sig for me? Identify a font to?
Author: Message:
RebelSean
Veteran Member
*****

Avatar
Microsoft Evangelist

Posts: 2602
Reputation: 59
34 / Male / Flag
Joined: May 2004
Status: Away
O.P. RE: Edit a sig for me? Identify a font to?
You win Matty! Thanks alot bro :D. Now to figure out the font for my countdown to be stuck on it.
Does someone want to help me with the code now for my image? The code is for JPEG functions, and I need it to work on GIF.

code:
<?

header("Content-type: image/jpeg");

$to_go = mktime(0, 0, 0, 12, 25, 2005) - time();

$days = ceil($to_go / (60 * 60 * 24));
$hours = ($to_go / (60 * 60)) % 24;
$minutes = ($to_go / 60) % 60;
$seconds = $to_go % 60;

$str = $days . " " . ($days == 1 ? "day" : "days") . ", " . $hours . " " . ($hours == 1 ? "hour" : "hours") . ",";
$str2 = $minutes . " " . ($minutes == 1 ? "minute" : "minutes") . " and " . $seconds . " " . ($seconds == 1 ? "second" : "seconds");

$image = ImageCreateFromjpeg("christmas.jpg");
$white    = ImageColorAllocate($image, 255, 255, 255);

imagettftext($image, 13, 0, 35, 60, $white, 'SCRIPTBL.TTF', $str);
imagettftext($image, 13, 0, 40, 80, $white, 'SCRIPTBL.TTF', $str2);
imagettftext($image, 11, 0, 115, 100, $white, 'SCRIPTBL.TTF', 'to christmas 2005..');

Imagejpeg($image);
ImageDestroy($image);

?>
I'm on: Twitter, Facebook, and Neowin
09-18-2005 02:48 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 01:44 AM
RE: Edit a sig for me? Identify a font to? - by matty on 09-18-2005 at 02:38 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 02:48 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 03:45 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:12 AM
RE: Edit a sig for me? Identify a font to? - by WDZ on 09-18-2005 at 04:23 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:42 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 05:01 AM
RE: Edit a sig for me? Identify a font to? - by dotNorma on 09-18-2005 at 05:06 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 05:09 AM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-18-2005 at 06:57 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-18-2005 at 04:37 PM
RE: Edit a sig for me? Identify a font to? - by -dt- on 09-19-2005 at 05:41 AM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-19-2005 at 10:38 PM
RE: Edit a sig for me? Identify a font to? - by Ash_ on 09-19-2005 at 10:51 PM
RE: Edit a sig for me? Identify a font to? - by RebelSean on 09-20-2005 at 09:05 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On