|
-
April 2nd, 1999, 10:16 AM
#1
Some help on bitmaps and imaging
Hi...name is ramesh and from singapore here..
I have been given the following task to program. I am a basic programmer in VC++ and roughly need some advise
My project:
-Open a bitmap file, display the bitmap and extract the bits from the bitmap.
- do some calculation with an array on the bits
- display the new modified bitmap alongside the old one.
-user must be able to switch between and view both bitmaps
-save the new bitmap to a file.
-zoom the bitmap if needed
- prin the bitmaps if needed as what they appear.
-my project aim is to show what the array algo can do.
do i
-use mdi or sdi
-how do i manipulate views...
-extract out the bits...
-do i use SetDIBbitstoDEvice, BITBLT(), DrawDibDraw(), StretchDibBits()?
how do i implement printing
I am now able to open and display abitmap on an sdi window. I can save a bitmap to a file.
But when i minimise my application, the bitmap disappears when i restore it back again
why???
my algo for the array resides in an array which i have created. I need to be able to extract oot the bits..
currebtly implementing it with a DIBSECTION....any advise would be most wonderful..
any samples would be tremendously wonderful as well
thanks..
my deadline is next month.....help
-
April 2nd, 1999, 01:25 PM
#2
Re: Some help on bitmaps and imaging
the image is disappearing because you are probably not drawing the
image in your OnDraw function. just a guess...
-
June 7th, 2000, 10:33 PM
#3
Re: Some help on bitmaps and imaging
On codeguru.com under bitmaps (section) you will find the 'GfxImage' library (or something like that) which has built in those imaging methods which you mentioned, which aren't built in to the GDI.
hth (I'm sure it will its brill)
Henry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|