terrid25
terrid25

Reputation: 1946

stretch image text created by GD

I am trying to use some PHP GD functions to stretch some text in an image.

What's the easiest way to do this?

Thanks

Upvotes: 1

Views: 1189

Answers (1)

Dan Grossman
Dan Grossman

Reputation: 52372

Draw the text on an image, use imagecopyresized to copy it to a taller image, and by resizing the whole image you've resized the text. Now you can copy it to the final image.

Upvotes: 1

Related Questions