Bitmap scaling

Started by
3 comments, last by Oleksiy Shelegov 19 years, 6 months ago
Hello everyone, I just need a hint of where to start from. I need to implement hardware accelerated zooming in feature with dithering. What kind of API/interface should I use? Thanks ahead for your advices.
Advertisement
Jus about the only way to do hardware accelerated anything with bitmaps requires rendering a textured quad and using the bitmap as the texture with a 3D rendering API such as the Direct3D component of DirectX or openGl.
Shoot Pixels Not People
But how ancient win32 2D games did that? Do that interfaces still exist?

I need to a starting point but your answer is a bit too complicated for me now. But thanks anyway!
I believe StretchBlt() will use hardware acceleration if it's available.
Thank you. I have tried StretchBlt() but my results aren't smooth enough for enlarging.

If I will go ahead with Direct3D will I find support for high-quality resizing algorithms like precise bicubic resampling?

This topic is closed to new replies.

Advertisement