a bitmap resize algorithm
this article has been moved to
www.davdata.nl/math/