Re: [GD-DEVEL] using a path for clipping images
[email protected] (Pierre Joye) Wed, 2 Sep 2009 18:24:35 +0200
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, It is not possible however you can use an image to fill a shape (gdImageFilledPolygon). That should do the trick as well. See the Tile API. Cheers, On Wed, Sep 2, 2009 at 11:05 AM, Martin Kofahl<[email protected]> wrote: > 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 > > -- > GD Devel Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre http://blog.thepimp.net | http://www.libgd.org