![]() Topic awaiting preservation: Printing random text on an image (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Seoul, Korea |
![]() 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 |
![]() 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 |
![]() Thanks for the link... although I probably won't get around to this until sometime next week. |
Maniac (V) Mad Scientist From: :morF |
![]() 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 |
![]() 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 |
![]() Skaarjj: So that's the secret, eh? I'll keep that in mind. |
Maniac (V) Inmate From: Seoul, Korea |
![]() 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 |
![]() see what I'm saying |
Maniac (V) Inmate From: Seoul, Korea |
![]() 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 |
![]() 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 |
![]() Good work Suho! This is another sig mile-stone for the asylum! |
Maniac (V) Inmate From: there...no..there..... |
![]() Ah! Now that's gold Jerry! Gold! |
Maniac (V) Inmate From: Seoul, Korea |
![]() All in good time, my friend, all in good time. The code will soon be appearing in a tutorial over at GN... |