Forum Moderators: coopster

Message Too Old, No Replies

characters rotated 45°

Creating php image with letters rotated by 45°

         

rokec

1:22 pm on Sep 20, 2006 (gmt 0)

10+ Year Member



How can i create php generated picture with letters rotated by 45°?

Thanks!

eelixduppy

4:46 pm on Sep 20, 2006 (gmt 0)



The image text functions have a parameter to specify the angle (except for imagestring and imagestringup) :

array [url=http://us3.php.net/manual/en/function.imagettftext.php]imagettftext[/url] ( resource image, float size, [b]float angle[/b], int x, int y, int color, string fontfile, string text )

This function is just an example. There are others. Refer to Image Functions [us3.php.net] for more information.

Good luck!