Øyvind Kolås wrote: > This code implements a perfect box filter for this case, what needs to > be added on top > of this to be able to do good estimate (maybe even exact) box filter > resamplings is trilinear interpolation by doing bilinear interpolation > on the two closest 50% 25% 12.5% .. levels of > the scaled pyramid. I'd suggest having a read of Graphics Gems I, page 147, "Filters For Common Resampling Tasks" by Ken Turkowski. Box and tent filters are easy to implement, but not necessarily the best choices... Graeme Gill. _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer