]> git.imager.perl.org - imager.git/commit
- the conv filter now enforces that the sum of the coefficients is
authorTony Cook <tony@develop=help.com>
Mon, 28 Sep 2009 09:33:53 +0000 (09:33 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 28 Sep 2009 09:33:53 +0000 (09:33 +0000)
commit6a3cbaef62aadb0bd0aa0174e99cc129d9f032f6
tree05bcb549b21e83a365f094c52c88c49369f1c372
parent189d57753748ce20d9da0071b4913a9294a19ecc
 - the conv filter now enforces that the sum of the coefficients is
   non-zero.  Also, rather than skipping pixels off the edge off the
   edge of the image, the closest edge pixel is used.  Previously
   dividing by the zero sum of coefficients could cause invalid
   results or runtime exceptions.
   Thanks to David Cantrell's Alpha-NetBSD CPAN test box for revealing
   this bug.
Changes
Imager.pm
Imager.xs
conv.im
imager.h
lib/Imager/Filters.pod
t/t61filters.t