Here's an image resizer program, which uses supersampling, I coded in about half an hour. If you're unfamiliar with supersampling, basically it takes a large image and averages neighbor pixels to form one pixel on the smaller picture. This is good for antialiasing and it just makes the image look softer in general. Thought I'd share the code. One thing I need help with: eventually I want this algorithm to be real-time so I can process media files with it, and thus have a supersampling media player. I probably could do this with Direct3D, true, but if possible I'd like to learn something. So, I need some advice on how to optimize it.
I'll post a sample shortly.
I'll post a sample shortly.