Forum Moderators: coopster

Message Too Old, No Replies

gd text angle

         

McBlack

5:35 pm on Aug 20, 2008 (gmt 0)

10+ Year Member



Most of you have seen the star wars movies right? You know how at the beginning they have the text crawling up at an approximate 75% angle? Does anyone know how you could use an angle for forward and back and not left to right?

McBlack

1:04 am on Aug 21, 2008 (gmt 0)

10+ Year Member



bump <_<

eelixduppy

1:06 am on Aug 21, 2008 (gmt 0)



Not sure you'll be able to do this with PHP alone. You might need a custom font for this...

cameraman

5:50 am on Aug 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may have to resort to imagemagick to do it. But I'm almost positive that I've seen that font somewhere, although I can't find it.

And thanks for making the Star Wars theme run around in my head ;)

McBlack

3:15 pm on Aug 21, 2008 (gmt 0)

10+ Year Member



Thanks for the suggestion :D

[fmwconcepts.com...]

this might be it.

McBlack

9:46 pm on Aug 21, 2008 (gmt 0)

10+ Year Member



bah, I'm on a shared host and can't use this D:

I've tried "convert input.jpg -distort Perspective '(numbers go here)' output.jpg" but it doesn't work! I know that I have imagemagick because just about any other script works D:

McBlack

10:02 pm on Aug 21, 2008 (gmt 0)

10+ Year Member



hmm I think my host doesn't support -distort or something.

cameraman

10:33 pm on Aug 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think if they've got imagemagick they've got the whole enchilada, but yikes that doesn't look like an easy operation to fiddle with. You might try escaping the single quotes, try double-quotes, etc.

eastcoastmike

6:23 pm on Aug 27, 2008 (gmt 0)

10+ Year Member



Make sure the path to the images is correct. Depending on your host setup, you may have use full paths. e.g /var/www/mydomain/httpdocs/myimage.jpg

If you have ssh access try the command directly - you'll get a complete error message of why it doesn't work.