Re: [GD-DEVEL] Gaussian Blur

From: Date: Tue, 07 Jan 2014 05:37:31 +0000
Subject: Re: [GD-DEVEL] Gaussian Blur
References: 1  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-748@lists.php.net to get a copy of this message
Hi Chris, On Dec 5, 2013 11:36 PM, "Chris Reuter" <chris@blit.ca> wrote: > > 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? You can create a new function for it, name it using the name of the algorithm you use for the new Gaussian filter. That solves all possible BC issues :) Thanks for your work! Cheers, Pierre

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