[comp.graphics] Algorithm wanted: resizing 1-bit bitmaps.

bli@aludra.usc.edu (I are a college student.) (07/23/90)

I am looking for an algorithm (C prefered, english ok) to resize 1-bit
images in memory or at load time. What I am looking for is something
that will compensate for varying H/V compression ratios.. (i.e. I might
want to cut an image horizontally 3.5 times and vertically 1.8 times).

In other words, what I am looking for is an algorithm to take an indefinite
size 1-bit bitmap, and shrink it (if needed) to fit 640x480x1.

If anyone can help, please reply by mail, so we will not clutter this
newsgroup. Thank you..


-----
STRESS('stres)n:
      that confusion created when one's mind overrides the desire to 
      choke the living daylights out of some jerk who really deserves it.