<?$x = 0;$text=$_GET["text"];$im = imagecreatetruecolor( 20*strlen($text), 20 );imagealphablending( $im, false );imagesavealpha( $im, true );$col = imagecolorallocate( $im, 0, 0, 0, 127 );imagefilledrectangle( $im, 0, 0, 20*strlen($text), 20, $col );for ($i = 0; $i < strlen($text); ++$i){$letter = $text[$i];$filename = "http://www.habbground.com/goodies/letters/$letter.png";$image = imagecreatefromPNG($filename);imagecopyresampled($im, $image, $x, 0, 0, 0, 20, 20, 20, 20);$x = $x+20;}header('Content-type: image/png');imagealphablending( $im, false );imagesavealpha( $im, true );imagePNG($im);imageDestroy($im);?>
There were some issues with images I had too.PS- sorry about the really long delay, I lost my link to the thread