Re: [GD-DEVEL] using a path for clipping images

From: Date: Wed, 02 Sep 2009 16:24:35 +0000
Subject: Re: [GD-DEVEL] using a path for clipping images
References: 1  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-608@lists.php.net to get a copy of this message
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<M.Kofahl@gmx.net> 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

« previous php.gd.devel (#608) next »