Re: [suse-programming-e] How to display binary data in bmp formart
27 Aug
2004
27 Aug
'04
11:20
Derek, (I hope that I have replied in the correct way.) An X-Window book I have describes how to set up an icon thus: #define IWidth 64 #define Iheight 64 static char Ibits[] = { 0x00, 0x00, ..........etc 0x04, 0x01, etc etc }; PixMap IPixMap; And then creates the image as IPixMap = XCreateBitmapFromData( theDisplay, theNewWindow, Ibits, IWidth, Iheight ); You could write your own data into the char variable and use the above converter. I am a raw beginner, so I don't know if this helps, but it the way an old fashioned programmer would do it. Regards, Colin
7426
Age (days ago)
7426
Last active (days ago)
0 comments
1 participants
participants (1)
-
Colin Carter