Can GD be used to skew images

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
mikca
Forum Newbie
Posts: 1
Joined: Mon Feb 07, 2005 4:56 pm

Can GD be used to skew images

Post by mikca »

I wrote an image resizing function with GD but I also want to skew the image where one side is larger than the other to give the image perspective like its disappearing into the distance.

Can I do this using the GD module. I don't see any functions in the library that appear to help.

Any ideas?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

distortion would probably require multiple calls to the resize routine(s) for each line at different scaling.. ahh that brings back the memories.. :)

Moved to Graphics.
Post Reply