Jump to content


Photo

Modify a jpeg with php?


  • Please log in to reply
3 replies to this topic

#1 phprocker

phprocker
  • Members
  • PipPipPip
  • Advanced Member
  • 91 posts

Posted 21 July 2006 - 02:52 AM

Hey all. If someone could point me in the right direction for what I'm trying to accomplish that would be great.

I came across a website that generates a signature that a person would use in a forum.  Basically, the site allows you to choose an image, and customize text that fits in/over/whatever the image.  So a select option gave images 1-20 and then other form inputs let you put name, location and other things that get displayed in a final jpeg.  It also seems they host the jpeg on their site and use the GET method to have the custom info for each user to use.

I am able to accomplish this with ease using the GET method.  However I do not understand how to make it a jpeg that is linkable. 

Anyone?

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 21 July 2006 - 04:20 AM

Create a JPEG with the image functions.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 manichean

manichean
  • Members
  • PipPip
  • Member
  • 29 posts

Posted 21 July 2006 - 05:30 AM

If you using windows, dont forget to uncomment the
extension=php_gd2.dll
in your php.ini

I got stuck on that for a while
8)

#4 phprocker

phprocker
  • Members
  • PipPipPip
  • Advanced Member
  • 91 posts

Posted 21 July 2006 - 06:14 AM

thx




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users