Box filter Resize Bug
Posted: 2010-09-05T22:12:50-07:00
Box resize changed..
I have no idea why but the Box filter is now producing a non-symetric result!
test image
Box filter resize 2 pixels smaller.
previously it generated the symetric 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.
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
Box filter resize 2 pixels smaller.
Code: Select all
convert checks_10.gif -filter box -resize 8x8 -sample 80x80 checks_box-2.gif
previously it generated the symetric 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.