|
-
May 5th, 1999, 09:13 PM
#1
i really need help here...
How do i do logic operations on my images? I'm using VC++ . Do i have to delete the header files like they do in VB?
-
May 5th, 1999, 10:06 PM
#2
Re: i really need help here...
I don't exactly know what you mean with "images", but if you mean bitmaps, try the functions of the CDC-Class of MFC (BitBlt() or PatBlt()...)
-
May 6th, 1999, 12:17 AM
#3
Re: i really need help here...
yeah i'm using a bitmap image. Will it work if i use other formats like gif, jpg and png as well?
-
May 6th, 1999, 01:43 AM
#4
Re: i really need help here...
LPBITMAPINFO lpBitmapInfo = (LPBITMAPINFO)yourDib;
BYTE* imageBits = (BYTE*)&lpBitmapInfo->bmiColors[lpBitmapInfo->bmiHeader.biClrUsed];
-
May 6th, 1999, 03:50 PM
#5
Re: i really need help here...
I don't think so, CDC only offers functions for bitmap images, because Windows only uses bitmaps for display
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
|