How to resize an image smoothly (with resampling) using Windows API calls?
- by Clay Nichols
I need to resize images and resample them so they don't end up all jagged (I think that's called aliasing).
I found some code (sorry, lost the link) that does this in pure VB6 code but it's a bit slow (2-5 seconds) and I'm displaying pictures in real time so I need something faster.
I seem to recall seeing some examples of doing this with the GDI+ library. An example in VB6 would be ideal, but I can probably work with a simple example with Windows API calls in another language.