PHP GD - creating an image with autowidth.

Discussion in 'PHP' started by blueparukia, May 26, 2008.

  1. #1
    K, am creating an image from a user inputted text string.

    It all works fine, the image is outut, but with a preset width and height, I want the image to be created the same width as the text, so if the text inputted is really long, the image should grow with it, and if it is really short - same goes.

    I searched and searched for tuts, but couldn't find any.

    Any help will of course be appreciated.
     
    blueparukia, May 26, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    jayshah, May 26, 2008 IP