Resampling uses specialized interpolation algorithms when resizing an image to minimize any negative impacts to image quality. For example, when you resize a 50×50 image to 500×500, the image looks horrible – like a bunch of giant squares. Resampling reduces that “blockiness” by interpolating pixels, so the image looks rounded even after being resized.
If that made no sense whatsoever, download the program to see what I mean! :)
(Note: as far as VB6 is concerned, it would typically be faster and simpler to use the LoadImage API call (which relies upon an inaccurate but very fast resampling algorithm). However, I hope this code provides a good insight into how resampling actually works.)
This site - and its many free downloads - are funded by donations from visitors like you.
Please consider a small donation to fund server costs and to help me support my family.
Even $1.00 helps. Thank you!