Hi i am all new to image magic i would like some help with programming a script to annotate text on to a background image from a form and ttf font i am willing to pay if someone could make me an example script that i can use to learn with. contact me if you can help.
please forgive me if i am in breach of any rules i have been trying to do this for months with no sucess and this is my last resort.
thanks
swampy
example of what i am trying to do here
http://www.says-it.com/concertticket/
Annotate Help
Annotate Help
Last edited by swampy on 2007-01-03T15:56:41-07:00, edited 1 time in total.
Check out the code at the bottom of this page:
http://www.rubblewebs.co.uk/imagemagick ... k_text.php
Change this to the path of your font :
-font Helvetica-Bold
If the font is in the same folder as the code
-font verdana.ttf
http://www.rubblewebs.co.uk/imagemagick ... k_text.php
Change this to the path of your font :
-font Helvetica-Bold
If the font is in the same folder as the code
-font verdana.ttf
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
See Im Examples, Annotation Images
http://www.cit.gu.edu.au/~anthony/graph ... nnotating/
http://www.cit.gu.edu.au/~anthony/graph ... nnotating/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
anthony wrote: See Im Examples, Annotation Images
http://www.cit.gu.edu.au/~anthony/graph ... nnotating/
Thank you Anthony this explains the text very nicley but i have one problem now ho to get the text from a form on to the image for example the name field from a form on to the image after you sumit the form do you have any examples of forms and the php that needs to be in the php file
thank you so much
swampy
swampy wrote: i have one problem now ho to get the text from a form on to the image for example the name field from a form on to the image after you sumit the form
Swampy,
You can use the POST variables from your form in PHP to build a text string containing your annotate command, then do a system call using the string you just built to generate the image, then print out a HTML string to display the image.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
This is also PHP specific. not IM specific. If you can get the info, you can pass it to IM.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/