Re: [GD-DEVEL] edge detection in windows dll possible?
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/4/07, tuitfun <[email protected]> wrote: > > --- Pierre <[email protected]> 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