Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

8-bit StretchBlt

I have an 8-bit color image with a palette which I want to perform a StretchBlt().  What is the best way to preserve colors when stretching?
0
dmetzler
Asked:
dmetzler
1 Solution
 
mbhaktaCommented:
If you are a Win32 user avoid StretchBlt() as far as possible. There is a much faster alternative by using a call 'StretchDIBits'. I enhances the stretching process in terms of speed and quality.
0
 
dmetzlerAuthor Commented:
Thanks for the response...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now