Page 1 of 1

Box filter Resize Bug

Posted: 2010-09-05T22:12:50-07:00
by anthony
Box resize changed..


I have no idea why but the Box filter is now producing a non-symetric result!

test image

Code: Select all

convert -size 10x10 pattern:gray50  checks_10.gif
Image
Box filter resize 2 pixels smaller.

Code: Select all

convert checks_10.gif -filter box -resize 8x8 -sample 80x80 checks_box-2.gif
Image
previously it generated the symetric image
Image

This was BEFORE I updated IM to the one with the new resize patches.

Looks to be something bery basic changed as it is after all, just trhe box filter
The exact same test using a triangle filter does NOT show this problem, so it may be a boundary problem only visible with box as it has a sharp window boundary.

Re: Box filter Resize Bug

Posted: 2010-09-06T07:00:55-07:00
by magick
It was a boundary condition. Fixed. Thanks.