Page 1 of 1

Can GD be used to skew images

Posted: Mon Feb 07, 2005 5:04 pm
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?

Posted: Mon Feb 07, 2005 5:31 pm
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.