Thread: Images and PHP

    #1
  1. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    Does anyone know where I can find tutorial(s) on how PHP can be used to generate images when it's passed some variables? For example at http://www.dvla-som.co.uk/search/ss....wtosearch.html if you search for a car registration plate then click on Preview Plate, a program called generate.pl gets passed the letters in the plate, like this: generate.pl?ALEX 1 and it creates a registration plate with those letters in the middle. It's not done with slices or anything: it's an actual GIF image. How can something like this be achieved?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Posts
    2
    Rep Power
    0
    Check this out:
    http://hotwired.lycos.com/webmonkey/...tw=programming

    To modify images on the fly you'll need GD libary. But from version 1.6 there's no GIF support, but PNG support. I think that PHP 4.0 can communicate with GD and use PNG. Or you can grab pre 1.6 GD libary from some old forgotten ftps
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    109
    Rep Power
    15
    You can use the Tool ImageMagick. It works with php, perl and apache! You can modify your images temporaly with powerfull functions.

    Look at: http://www.wizards.dupont.com/cristy/ImageMagick.html

Similar Threads

  1. php Mail() in html format - problem
    By gursharn in forum PHP Development
    Replies: 6
    Last Post: August 6th, 2004, 06:42 PM
  2. Resizing images with PHP causes images to be cut off
    By lotrtrotk in forum PHP Development
    Replies: 4
    Last Post: February 4th, 2004, 01:19 PM
  3. adding images to zip files with php
    By thindery in forum PHP Development
    Replies: 2
    Last Post: January 25th, 2004, 12:55 PM
  4. PHP and MYSQL to display images
    By foreverdita in forum PHP Development
    Replies: 2
    Last Post: January 23rd, 2004, 08:21 AM
  5. Insering images into PHP
    By warney316 in forum PHP Development
    Replies: 0
    Last Post: January 18th, 2004, 12:44 PM

IMN logo majestic logo threadwatch logo seochat tools logo