• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

How to enlarge a bitmap

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
Maizlish
Asked:
Maizlish
1 Solution
 
jstolanCommented:
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

Industry Leaders: 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