Solved

8-bit StretchBlt

Posted on 1997-06-12
2
295 Views
Last Modified: 2013-11-20
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
Comment
Question by:dmetzler
2 Comments
 
LVL 4

Accepted Solution

by:
mbhakta earned 50 total points
ID: 1302094
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
 

Author Comment

by:dmetzler
ID: 1302095
Thanks for the response...
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Separate files macro - Errors on larger data set 18 69
maxBlock challenge 30 129
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 94
JQuery serialize and unserialize 8 82
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question