|  | Posted by jackpod on 08/26/06 21:35 
Jerry Stuckle wrote:> jackpod wrote:
 > > Hi All,
 > > I would appreciate help in developing a strategy for coding the
 > > following requirements:
 > >
 > > 1) A user inputs his/her first and last name and selects which country
 > > they are from from a drop-down list.
 > > 2)This first name, last name and country name are written to a
 > > database.
 > > 3)The first name, last name and an image of the selected country's flag
 > > are combined into one image of size x pixels wide by y pixels in
 > > height.
 > >
 > > Your help in figuring out a strategy for requirement #3 above would be
 > > much appreciated.
 > >
 >
 >
 > Get a graphical copy of the person's country flag and use the PHP image
 > functions to superimpose their name on the graphic.  See
 >
 > http://www.php.net/manual/en/ref.image.php
 >
 >
 > --
 > ==================
 > Remove the "x" from my email address
 > Jerry Stuckle
 > JDS Computer Training Corp.
 > jstucklex@attglobal.net
 > ==================
 
 Jerry,
 
 Thanks for the reference. I have an image of each country's flag which
 is of size 20 x 10. Being relatively new to php, I am not quite sure
 what is the best way to use the GD Library to merge this image with an
 image of the person's name. Thanks in advance.
  Navigation: [Reply to this message] |