Solved

How to enlarge a bitmap

Posted on 1998-10-23
1
302 Views
Last Modified: 2013-11-20
Hello everybody !

I need to enlarge a bitmap by adding an "extra space" at the bottom of it . No scalling is needed - just more blank space dynamicly without recreating and copying anything
0
Comment
Question by:Maizlish
1 Comment
 
LVL 2

Accepted Solution

by:
jstolan earned 20 total points
ID: 1323778
Sorry, the only way to do this is to create a new bitmap with the size you need, then BitBlt the old bitmap into the new.  You can't just change the bitmap properties, it won't have the proper amount of memory allocated and the bits will be scrambled.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating Labels and Frequency list style reports in SAS code 9 92
Process filename extension 3 172
while loop over for loop 7 93
How to convert MFC::CString to UTF8 wchar_t* 10 147
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now