I currently have a php script that places text onto a image via user entered variables such as: Text, Font face, color, and size, designated image, and x/y coordinates, then outputs the results to the browser with the file being saved as [login to view URL]
I would like an expanded script with the same functionality of my current script that would support the following formats: png (transparent and non-transparent), jpg, & gif (with transparency and animation, putting text on each frame of the animation).
## Deliverables
My server is leased through PowerVPS, I would like it to be computable with php 4+, GD, and freetype.
The user would enter the variables via a form that I can set up and customize based on the image that the text is being added too, for example:
<tr>
<td><label for="text">Name:</label></td>
<td><input name="text" type="text" id="requiredName" size="11" /></td>
</tr>
<tr>
<td><label for="label">Color:</label></td>
<td><select name="color" id="requiredlabel">
<option></option>
<option value="000000">BLACK</option>
<option value="C0C0C0">SILVER</option>
<option value="808080">GRAY</option>
<option value="FFFFFF">WHITE</option>
<option value="800000">MAROON</option>
<option value="FF0000">RED</option>
<option value="800080">PURPLE</option>
<option value="FF00FF">FUCHSIA</option>
<option value="008000">GREEN</option>
<option value="00FF00">LIME</option>
<option value="808000">OLIVE</option>
<option value="FFFF00">YELLOW</option>
<option value="000080">NAVY</option>
<option value="0000FF">BLUE</option>
<option value="008080">TEAL</option>
<option value="00FFFF">AQUA</option>
</select>
</td>
</tr>
<tr>
<td> <label for="image">Font:</label></td>
<td><select name="font" id="requiredlabel2">
<option></option>
<option value="[login to view URL]">Comic Sans</option>
<option value="[login to view URL]">Karrot</option>
<option value="[login to view URL]">Type</option>
</select>
<input name="fontsize" type="hidden" value="8" />
<input name="image" id="image"type="hidden" value="[login to view URL]" />
<input name="ydisplacement" type="hidden" value="-20" />
<input name="xdisplacement" type="hidden" value="28" />
</td>
</tr>