Gaussian Blur
[email protected] (Chris Reuter) Thu, 05 Dec 2013 17:36:25 -0500
| Newsgroups | php.gd.devel |
|---|---|
| Organization | Zygon Invasion Force Advance Scouts |
| Message-ID | <[email protected]> |
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