View Full Version : Hello..
mrthumbs
11-26-2002, 07:05 PM
..this looks like another fine place to be..
:nyanya:
mrthumbs
11-26-2002, 07:09 PM
http://www.thumbsz.com/shit/serge.jpg
Mike AI
11-26-2002, 08:41 PM
Mr. Thimbs, trygn to win Serge over with that cheap ploy?? :unsure:
IT will probably work!! :yowsa:
What do you do in this business? How long have you been around? Give us some details...
Oh and welcome to the Gumbo!!
:bdance: :bwave: :bjump:
mmmmmmmmmmmmmmmmmmm.............. she looks NICE!
mrthumbs is a GFY dude i think.
welcome to Oprano :D
DynaMite
11-27-2002, 09:34 AM
hahahaha I have seen that script somewhere.....fucking funny....
I coded the same thing a couple of days ago.....LOL
http://66.181.179.74/fun.php
Have fun.....if you want the source code....hit me up on ICQ
DynaMite
UIN# 370820
Winetalk.com
11-27-2002, 09:38 AM
Privet, mrthumbs,
kak dela?
cool Dynamite.
one thing about yours, the text is jagged, can you put something in the script to smooth out the fonts?
DynaMite
11-27-2002, 10:14 AM
Working on it.....
DynaMite
DynaMite
11-27-2002, 11:36 AM
Ok I didn't solve the bug....it required me to recompile php with
an older version of GD. The script is ok the jaggered font is
because of a bug in the latest release of GD.
Just select the code in the comments there is info what you need
<?
/************************************************** *********************************************
*
* fun.php
*
* You need freetype modules installed and php compiled with --with-freetype-dir=/path/to/freetype
* You need php compiled with GD support (GD2 seems to have anti-alias bug with truecolor images)
* You need the font: http://66.181.179.74/annifont.ttf ('http://66.181.179.74/annifont.ttf')
* You need the blank jpeg: http://66.181.179.74/blank.jpg ('http://66.181.179.74/blank.jpg')
*
* Enjoy!
*
* DynaMite
* UIN# 370820
*
************************************************** ***********************************************/
if(isset($text)) {
Header("Content-type: image/jpeg");
$imagepath = "/full/path/to/blank.jpg";
$pic = imagecreatefromjpeg($imagepath);
$textcolor = imagecolorclosest ($pic, 62, 44, 66);
imagettftext ($pic, 15, -7, 150, 280, ($textcolor*-1), "/full/path/to/annifont.ttf", $text);
imagejpeg($pic,'',100);
}
?>
<html>
<head>
<title>
GFY FUN!
</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="640" cellspacing="0" cellpadding="8" id="">
<tr>
<td width="480" bgcolor="#FFFFFF" valign="top">
<p><IMG height=337 src="blank.jpg" width=451><br />
<br />
<form action="fun.php">
Name: <input type="textfield" width=10 name=text
value="fill in here"> and press enter </form>
</p>
</td>
</tr>
</table>
</body>
</html>
DynaMite :nyanya:
DynaMite
11-27-2002, 11:42 AM
There can also be some issues with the position/rotation
of the font.....if that happens play with the values in this line:
This can be caused if you use different versions of the freetype lib
imagettftext ($pic, 15, -7, 150, 280, ($textcolor*-1), "/full/path/to/annifont.ttf", $text);
15 = font size
-7 = rotation value
150 = left margin
280 = topmargin
DynaMite
Good STUFF DynaMite - thats what I like to see - CODE!!!! :wnw:
Mike AI
11-27-2002, 11:52 AM
Ed we were just dicussing the use of this code for some of our girls sites, I think we need to get a copy of it and play with it.... would be cool addition to add!
DynaMite
11-27-2002, 11:54 AM
if you run into problems let me know....I'll be glad to help out......
and because it's almost cristmass.....it's free
DynaMite :yowsa:
Mike AI
11-27-2002, 11:57 AM
Thanks DynaMite, I will have Ed deal with it.... Code and me do not mix.
B)
Thanks DynaMite - I'll let you know if I need anything with the code - I'll have to check on those modules for our servers - again, GOOD STUFF! :rokk:
DynaMite
11-27-2002, 12:02 PM
Cool....well in case Edd runs into something give me shout....
GD and Freetype have some issues as I mentioned in the comments of the
code.....but in general this is child play....and shouldn't give anyone who
knows php problems
DynaMite
UIN 370820
very cool DynaMite.
if somebody gets the font smoothing to work let me see it.
it is a cool little toy to add to your amgirl sites. CHEAPER THAN ACTUALLY HIRING THEM TO DO WEBCAM SHOWS NOW AIN'T IT!!! :yowsa:
Peaches
11-27-2002, 12:21 PM
Don't forget, I posted this link a few weeks ago - the font is very smooth - not sure if you can read the code off it or not (cuz I don't code :D )
http://www.patrick.fm/boobies/
DynaMite
11-27-2002, 12:30 PM
As I mentioned before....I have seen this before aswell on the same link
as peaches posted. However it comes without code....as I thought it was
funny...I made the code for it...
The font smoothing is a bug in the GD library I have installed on my server.
So the jaggered font is not a script problem.....if I would recompile GD and
php with a previous release of GD this will be fixed.
There is a patch for this bug.....but it means I have to recompile both
the libraries and PHP and Apache because I have everything staticaly
compiled.....as to me this is just a joke....I don't feel like doing this.
If you want to use it.....try it out....the font will be sharp if you either have
a patched GD library or a previous release of GD which doesn't contain the
bug.
DynaMite
ok i gotcha :wnw:
thanks for the code :bdance:
vBulletin® v3.7.4, Copyright ©2000-2024, Jelsoft Enterprises Ltd.