1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Looking for a text rendering script

Discussion in 'Scripts' started by SEbasic, Jan 15, 2006.

  1. #1
    Does anyone know where I can get one?

    Essentially, I need the script to be able to render an image from a string of characters pulled from a DB field.

    I also need to be able to choose from the font I want to use, the colour I want the text to turn out, and the size I want it to be.

    Does anyone know where I can find a script that does this?

    I've looked for a *long* time, but nothing seems to do it right - I'd be happy to pay a bit for it, not a fortune mind - maybe $50 or something, else I'll just get someone to write it...

    I assume the GD library is what needs to be used in order to do this in php.

    Any help would be *much* appreciated.
     
    SEbasic, Jan 15, 2006 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    So you just need to create images on the fly based on database stored input?

    You make it sounds like you actually want to parse the ascii text (what you see when you open a jpg in notepad) so I'm not entirely sure what you want.

    If it's just instant image generation (like the KWT graphs) then it's quite simple. I can lend you a book on it or dig out some tutorials. Probably some phpclasses.org classes as well.
     
    T0PS3O, Jan 15, 2006 IP
  3. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right, that's exactly what I want.

    With the ability to edit all of the variables like I said.

    Any help would be awesome - It'd be worth a beer for sure ;)
     
    SEbasic, Jan 15, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    T0PS3O, Jan 15, 2006 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Here's a good one:

    Seems like what you need...

    Another one, which can take a jpg as background and add text on top where and how you want it:

     
    T0PS3O, Jan 15, 2006 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That looks awesome mate - thanks for that...

    I'm gonna havee a play with it now and see if can do what I want.
     
    SEbasic, Jan 15, 2006 IP
  7. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Scroll down to the T to get a dozen Text to Image classes. Should be a solution for you there.
     
    T0PS3O, Jan 15, 2006 IP
  8. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Sorry, don't getcha.

    That site has a pretty complex login sequence huh...

    Damn it's ad heavy too - But the script looks ideal so far.
     
    SEbasic, Jan 15, 2006 IP
  9. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #9
    phpclasses.org should be a PHP developer's second bookmark, after php.net. Hotscripts.com then number 3. Yeah, the login is funny but it's all free.

    I meant that on this page (the Graphics section) if yuo scroll down to the letter T you get to a load of classes called Text to Image. About 80% down that page.
     
    T0PS3O, Jan 15, 2006 IP