Forum Moderators: coopster

Message Too Old, No Replies

Writing on image

php image functions

         

rokec

5:08 pm on Sep 19, 2006 (gmt 0)

10+ Year Member



I have 200*350 image (image name=test.*). I would like to write "Hello word" with Arial Narrow at coordinates (36,48) with #f7b9a4 color. How can i do this?

Which formats can i use (bmp, png, gif, jpg...)?

Thanks for help in advice.

eelixduppy

5:17 pm on Sep 19, 2006 (gmt 0)



Take a look at imagestring [us2.php.net]. Good luck!

rokec

5:19 pm on Sep 19, 2006 (gmt 0)

10+ Year Member



And how i write on previously created image?
And how can i do that users will be able to download it (But not with Save As)?

[edited by: rokec at 5:24 pm (utc) on Sep. 19, 2006]

eelixduppy

5:23 pm on Sep 19, 2006 (gmt 0)



You have to have a resource that points to an image:

Read the examples of php.net. They are good to use as templates.