How to resize an image smoothly (with resampling) using Windows API calls?
Posted
by Clay Nichols
on Stack Overflow
See other posts from Stack Overflow
or by Clay Nichols
Published on 2010-05-24T05:19:59Z
Indexed on
2010/05/24
11:21 UTC
Read the original article
Hit count: 178
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.
© Stack Overflow or respective owner