Re: [GD-DEVEL] edge detection in windows dll possible?
| From: | Pierre | Date: | Tue, 04 Sep 2007 13:22:01 +0000 |
| Subject: | Re: [GD-DEVEL] edge detection in windows dll possible? | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-256@lists.php.net to get a copy of this message | ||
On 9/4/07, tuitfun <tuitfun@yahoo.co.th> wrote:
>
> --- Pierre <pierre.php@gmail.com> wrote:
>
> > It is possible yet with the libgd.org's gd. However the code I wrote
> > for the php's libgd can be easily ported to any C application (or
> > scripts for that matter). You can find it in php's cvs (or source
> > releases):
> >
> > http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.c
> >
> > See the end of the file. It is was imagefilter and imageconvolution use.
> >
> > Cheers,
> > --Pierre
>
> thanks a lot. the source code and the following tutorials really help. :)
> http://student.kuleuven.be/~m0216922/CG/filtering.html
> http://www.pages.drexel.edu/~weg22/edge.html
Good :)
If you need a ready to be used implementation (with libgd), the C
implementation of these filters can be found in php sources. GD-2.1.0
will have the PHP's convolution and filter functions
(http://www.php.net/imageconvolution and
http://www.php.net/imagefilter).
Cheers,
--Pierre