|
-
April 11th, 2004, 03:26 PM
#1
Load bitmap from file into array.
Hi,
I am currently writting a simple Win32 program which needs to read bitmap files into an array of integers. Each integer value will contain the RGB value as opposed to individual red, green and blue values. Would somebody be able to show me how to do this please with just the use of Win32 API calls, etc.
Here is basically how I want the image to be loaded.
int* MyPicture;
MyPicture = new int[ImageWidth * ImageHeight];
Any help would be greatly appreciated!
Best Regards,
Lea Hayes
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
|