Gaussian Blur
| From: | Chris Reuter | Date: | Thu, 05 Dec 2013 22:36:25 +0000 |
| Subject: | Gaussian Blur | ||
| Groups: | php.gd.devel | ||
| Request: | Send a blank email to php-gd-devel+get-743@lists.php.net to get a copy of this message | ||
Hi all,
I've written a new Gaussian blur routine that is (IMHO) superior to
the current one in gd_filter.c (i.e. it lets you select radius and
sigma and splits the operation into two passes for efficiency).
I'm planning on adding this to the trunk and would like turn the
current gdImageGaussianBlur() into a front-end for my routine. This
introduces two potential changes:
1. The blurring effect won't be identical (although I'm pretty
sure I can get close enough)
2. The image will be converted to true color where it wasn't
before.
Is this likely to be a problem? Does someone out there depend on
gdImageGaussianBlur() preserving the palette?
Thanks,
--Chris
--
Chris Reuter http://www.blit.ca
"If by 'misunderstood' you mean that his insane rantings are unintelligible as
he attacks you with a spork, yeah. You may be right."
--Get Fuzzy, 2003/12/14