Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - PHP / Javascript text to image generator | | | |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
CoolMario Micro-Goomba Level: 7 Posts: 4/12 EXP: 1012 For next: 436 Since: 03-19-04 Since last post: 83 days Last activity: 25 days |
| ||
Does anyone know where can I find a PHP and/or Javascript script that when you run the script, it converts the text you entered into an image, and uses individual image letters to build the word? Like when I enter in my HTML [img src="this and that"] it displays the text I typed in the SRC. | |||
Emptyeye Real American Level: 67 Posts: 75/2273 EXP: 2488421 For next: 104451 Since: 05-24-04 From: I DUNNOOOOOOOO!! Since last post: 9 hours Last activity: 4 hours |
| ||
I'm pretty sure these very boards use something like that for the level and experience numbers on the left (In the default layout). To that end, try PMing Acmlm about it and see what he has to say. |
|||
Weasel Missionary in Peru Level: 34 Posts: 372/454 EXP: 236444 For next: 17207 Since: 03-15-04 From: Washington Since last post: 467 days Last activity: 339 days |
| ||
For that, I just edited numgfx.php in AcmlmBoard 1.8a. |
|||
CoolMario Micro-Goomba Level: 7 Posts: 5/12 EXP: 1012 For next: 436 Since: 03-19-04 Since last post: 83 days Last activity: 25 days |
| ||
Yes, something like that. Can you post the code? Thanks in advance. | |||
Weasel Missionary in Peru Level: 34 Posts: 375/454 EXP: 236444 For next: 17207 Since: 03-15-04 From: Washington Since last post: 467 days Last activity: 339 days |
| ||
I'd rather not. It took a while to make this whole thing. Vystrix Nexoth helped quite a bit too. I dunno if he wants to release the source, but I'm apprehensive. Find someone who has acmlmboard1.8 (or whatever) and edit that a bit. It's really quite simple. |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 167/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Yours works better than mine, Weezy. I can't get lowercase or spaces to work. *sighs* | |||
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 466/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||
I'm going Xkeeper's way... just let people get the darn AcmlmBoard source! edit by weasel: I'm not sure if Acmlm wants that url posted. If it's ok, I'll put it back up. edit again: Yeah, I'll put that link back now... (edited by Weasel on 06-02-04 02:12 AM) (edited by Weasel on 06-02-04 11:32 AM) |
|||
Xkeeper The required libraries have not been defined. Level: NAN Posts: -4296/-863 EXP: NAN For next: 0 Since: 03-15-04 Since last post: 2 hours Last activity: -753366 sec. |
| ||
Gah, Wheezel, it's not a bad link, just let the guy post it, sheesh... he doesn't care, 1.8a is old and lame now :p But you can also go my way, again, and make your own like Wheez did [although I believe I did mine before his, even though his does lowercase [but my LC font looked like shit] Ask me and mabye I'll give you the source. Mabye. |
|||
Weasel Missionary in Peru Level: 34 Posts: 376/454 EXP: 236444 For next: 17207 Since: 03-15-04 From: Washington Since last post: 467 days Last activity: 339 days |
| ||
Yes, you did yours way before mine, and it was from you that i got the idea. And I'd like the see the source of yours, X, see how you did line breaks, which I failed to do in mine... I'll give you mine if you give me yours As for the link... I guess I can put it back.... No one better complain |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 173/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
If either one of you wants to laugh (or cry) at my pathetic version, I'll play the share game too. | |||
Yarx Keese That Zelda Fanatic i am a wootest! Danicess Snuggle Slave! Fragapalooza! RTFM! Level: 20 Posts: 66/133 EXP: 37485 For next: 4954 Since: 03-15-04 From: Edmonton Since last post: 132 days Last activity: 18 days |
| ||
(edited by Yarx on 06-03-04 03:56 AM) |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 860/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Weasel Missionary in Peru Level: 34 Posts: 378/454 EXP: 236444 For next: 17207 Since: 03-15-04 From: Washington Since last post: 467 days Last activity: 339 days |
| ||
Note my AWESOME Castlevania3 text I still haven't figured out how to put line breaks (edited by Weasel on 06-03-04 10:58 AM) |
|||
BGenesis Red Goomba Level: 11 Posts: 32/38 EXP: 5415 For next: 570 Since: 05-17-04 From: In the tyranny that is Brittania. Since last post: 516 days Last activity: 339 days |
| ||
You still haven't actually offerred any wholesome help, guys! Or have you? Anyway, with PHP it can be done pretty easily. This guy made a font previewer that uses a bitmap font and text input to output an image: http://www.zone38.net/font/preview.php Here's the source: http://www.zone38.net/font/preview.php.txt |
|||
Yarx Keese That Zelda Fanatic i am a wootest! Danicess Snuggle Slave! Fragapalooza! RTFM! Level: 20 Posts: 69/133 EXP: 37485 For next: 4954 Since: 03-15-04 From: Edmonton Since last post: 132 days Last activity: 18 days |
| ||
Well, the only way to do what you're asking is using some kind of server side coding, such as PHP, JSP, ASP, etc.... Weasel and XKeeper used PHP to do it. While I used ASP.NET If you want, I put up the source to mine on my site a while back and it's still available here The key difference you'll find in mine is that it has a array that is populated at the begining to keep track of character coordinates, since I am using a variable width font, not all the characters are the same size. Also I have code to dynamically scale the size of the image's height, width, and line wrapping. So there is a bit more code there than most. It should be pretty simple though. |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 177/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Now all I need to get is linebreaks and symbols, and I'll be set. YAY! How would I detect a linebreak? (edited by Elric on 06-05-04 12:03 AM) |
|||
Weasel Missionary in Peru Level: 34 Posts: 386/454 EXP: 236444 For next: 17207 Since: 03-15-04 From: Washington Since last post: 467 days Last activity: 339 days |
| ||
Bloody good question Xkeeper's script uses the ~ tilda to detect it. That's fine and all, but I don't know how I would make the image suddenly larger to put that in. Of course, I didn't spend time bothering to figure it out anyway XD |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 179/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
It's not hard to make the base image larger. Hell, I did it, so anyone should be able to. XD Of course, if we could get Acmlm's ass in here, he could tell us, since he has a nifty one. It has all kinds of things in it, and the letters/numbers/etc. are on multiple lines, too. Damn Canadians. I'm figureing I'll have to do something similar to Xkeeper, and use a special symbol to denote line-breaks. Of course, I still have the problem of making it generate an image with the proper height, alignment, text, On second thought, I think I'll just stick to using multiple < |
|||
FreeDOS Lava Lotus Wannabe-Mod :< Level: 59 Posts: 486/1657 EXP: 1648646 For next: 24482 Since: 03-15-04 From: Seattle Since last post: 6 hours Last activity: 4 hours |
| ||
Use the traditional backslash (UNIX-style, \) to make special characters. For example: \n = New line \t = Tab \\ = Backslash \ |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 180/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
OK, that's simple enough. But how do I tell it to make this: into this: ? And I REALLY need to fix the "a" in that font. Probably the e too... |
Pages: 1 2 | Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - PHP / Javascript text to image generator | | | |