using a path for clipping images

[email protected] ("Martin Kofahl") Wed, 02 Sep 2009 11:05:26 +0200
Newsgroups php.gd.devel
Message-ID <[email protected]>
Hello list!

I'm looking for a way of clipping an image (or partially drawing an image) using a path. I found gdImageSetClip() doing this jobs for a rectangle. Do you have an idea how to use a path?

Thank you! Martin