Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Using PHP to Create Graphics
11-09-2012, 03:50 PM #1
- Join Date
- Feb 2007
- Thanked 0 Times in 0 Posts
Using PHP to Create Graphics
I am in the process of creating a seven-page website that will be a sales pitch to convince someone to schedule a video chat to consult with a philosopher / life consultant, to have discussions about improving life and being successful, for example.
I have a graphical element that represents each of the seven steps within the sales pitch. The graphical element looks very much like a transit map for public transportation.
I was wondering if PHP would make sense to learn in terms of using PHP to generate the graphical visual for each of the seven pages. When the visitor proceeds from one page to the next, the graphical visual has to reflect the current page by way of a circle and a dot that indicates the current stop along the seven-position indicator.
Take a look at the following web addresses to let me know what is possible:
Thought of the Day
Technical Details / Requirements for Video Chat
Form used to schedule your video chat session
11-09-2012, 08:06 PM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,668 Times in 2,637 Posts
You can create graphics using PHP manually (not fun), or simply using the GD library. I'm not sure what in particular you are planning on making; seeing those images on the left I question the need to use PHP to generate the graphics since there is nothing really dynamic about it. It would simply be easier to link the image into the html per normal.
GD is more designed for dynamic graphics, so putting special text on them, creating barcodes, creating pie and bar graphs, etc. Typically images that would change based on input. Graphics also typically have a rather high overhead to them, which is why using GD should be sparingly.