home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20775 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.3 KB

  1. Path: sparky!uunet!dtix!mimsy!mojo.eng.umd.edu!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  2. From: POLLOCK.STEVEN_L+@KANSAS-CITY.VA.GOV
  3. Newsgroups: comp.windows.x
  4. Subject: X Image Sample?
  5. Message-ID: <2832217@KANSAS-CITY.VA.GOV>
  6. Date: 5 Jan 93 17:44:00 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Organization: The Internet
  9. Lines: 23
  10.  
  11.  
  12. Xperts,
  13.  
  14. Does anyone, by chance, have a simple example of creating an X image in a
  15. window using data from raw data file?  That is, I have a raw data file which
  16. contains 16 bit/pixel and is 256 pixels by 256 pixels.  I have tried reading
  17. the raw data into a memory buffer (reversing byte order...) and passing a
  18. pointer to the XCreateImage() function with lousy results.  
  19.  
  20. I do not have ftp access, only mail.  Any code fragments you could send along
  21. would be appreciated.
  22.  
  23.  
  24. |>>>>>>>>>>>>>>>>>>>>>>>>>>>>||<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|
  25. |Steven Pollock              || Internet:  xxx@kansas-city.va.gov           |
  26. |VA Medical Center, IRM      || COM: 816-861-4700 x3750                     |
  27. |4801 Linwood Blvd.          || FTS: 700-754-1750                           |
  28. |Kansas City, Missouri 64128 || Fax: 816-861-8736 .or. FTS: 700-754-1828    |
  29. |>>>>>>>>>>>>>>>>>>>>>>>>>>>>||<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<|
  30.  
  31.  
  32.  
  33.  
  34.