SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast stoproductions's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dynamic Image Generation of a T-Shirt

    Hello All. Need to be pointed in the right direction here. There are websites out there that will generate an image or text and put it on a t-shirt in real time for you to decide if you like and/or want it. I am fairly good with PHP and am pretty sure I can accomplish this but i don't even know where to start looking. Any help would be greatly appreciated.

    To Recap: I am trying to take a base image of a t-shirt and draw text on top of it so the user can preview the design.

    Thanks!

    Nick

  2. #2
    SitePoint Guru
    Join Date
    Dec 2005
    Posts
    982
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MySQL v5.1.58
    PHP v5.3.6

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2008
    Posts
    1,149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can also access ImageMagick via the command line, although using the native PHP interface is far easier and cleaner as well.

    And while this may not be relevant to you, servers generally have GD and/or the ImageMagick binaries installed, but usually not the native PHP ImageMagick interface.

  4. #4
    <?php while(!sleep()){code();} G.Schuster's Avatar
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've done two of these shops in the past, both used GD and AJAX (for positioning/layering).
    One pretty important advice: keep an eye on the scale of your images!
    Especially if you're going to print them you'll need hi-res pics so don't calculate e.g. texts too small as you'll get ugly borders.

    If you need help drop me an eMail.

  5. #5
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can take help from imagemagik, also checkout its flexibility.One thing to be remember always focus on high resolution images, no compromise on quality.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •