Topic awaiting preservation: Printing random text on an image (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2003 05:36
OK, I have a new sig on display, and what I would like to do with it is have a script that will take a random line from a text file and put it into the "paper" space (take a look at the sig and you'll see exactly what I mean). Lurch mentioned that this was doable in PHP, but I haven't quite gotten that far yet... |
Maniac (V) Mad Scientist From: :morF |
posted 04-03-2003 05:43
Go to http://www.hotscripts.com and look through their PHP tutes on image manipulation...then when you've done it and amazed us all with your talent write it up as a tute for the GN. |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2003 06:09
Thanks for the link... although I probably won't get around to this until sometime next week. |
Maniac (V) Mad Scientist From: :morF |
posted 04-03-2003 06:27
I'll let you in on a little secret Master Suho...if you can do it, you're qualified ot write about how you did it. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-03-2003 06:55
Actually these tutes can be much better by someone with less knowlege sometimes. They're written by people who can understand the difficulty of what they are trying to teach |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2003 08:05
Skaarjj: So that's the secret, eh? I'll keep that in mind. |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2003 08:40
Huh... apparently getting the stupid imagettftext function to work is going to be the hard part... I keep getting: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-03-2003 17:21
see what I'm saying |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-04-2003 00:50
Yup, I will definitely have to mention that. Although I've been having trouble getting a transparent PNG to work... if I can't figure it out I may go with my alternate version (a transparent GIF + a JPG with the text)... |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-04-2003 03:46
Skaarjj and bd: Much thanks for the help and encouragement. I've posted the final version over in the sigs forum, but I thought I'd post it over here, just in case you don't get over that way. In the end, it didn't turn out to be nearly as difficult as I thought it would be... |
Maniac (V) Mad Scientist From: :morF |
posted 04-04-2003 05:06
Good work Suho! This is another sig mile-stone for the asylum! |
Maniac (V) Inmate From: there...no..there..... |
posted 04-04-2003 19:48
Ah! Now that's gold Jerry! Gold! |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-05-2003 14:30
All in good time, my friend, all in good time. The code will soon be appearing in a tutorial over at GN... |