|
-
August 8th, 2004, 12:34 AM
#1
[SDK]How to read my own data into picture
Hello,
I create a picture resource typed 'frame',I would like to write data into them.
I find am example from http://www.winprog.org/tutorial/bitmaps.html.
But i don't use the bitmap resource and the bmp file.
I will use my own data.
Could someone tell me how to do that?
Thanks a lot!
-
August 8th, 2004, 01:51 AM
#2
Hi,
you problem still isn't clear to me.. are you going to update the bitmap resource or do you want to change dinamically the content of a bitmap ?
-
August 8th, 2004, 01:58 AM
#3
 Originally Posted by puzzolino
Hi,
you problem still isn't clear to me.. are you going to update the bitmap resource or do you want to change dinamically the content of a bitmap ? 
Hi.
I would like to make R,G,B datas into the picture resource,and display.
R datas in R.dat file. G datas in G.dat file. B datas in B.dat file.
I will open and read them, and make them into the picture resource.
Finally, display.
Thanks!
-
August 8th, 2004, 04:18 AM
#4
-
August 8th, 2004, 04:06 PM
#5
Ok,
if you want to modify directly the RGB values then I suggest you create a dib section.
Check out this site for any good articles on how to do that.
To easily update a resource, follow this link:
Updating resources
-
August 8th, 2004, 11:56 PM
#6
 Originally Posted by puzzolino
Ok,
if you want to modify directly the RGB values then I suggest you create a dib section.
Check out this site for any good articles on how to do that.
To easily update a resource, follow this link:
Updating resources
A little more difficult than i think.
Thanks, I will study that.
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
|