home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19403 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!paul
  3. From: paul@elroy.Jpl.Nasa.Gov (Paul Asmar)
  4. Subject: XGetImage question
  5. Message-ID: <1992Nov20.194122.854@elroy.jpl.nasa.gov>
  6. Sender: news@elroy.jpl.nasa.gov (Usenet)
  7. Nntp-Posting-Host: cosmo.jpl.nasa.gov
  8. Organization: Image Analysis Systems Group, JPL
  9. Date: Fri, 20 Nov 1992 19:41:22 GMT
  10. Lines: 27
  11.  
  12. Newsgroups: comp.windows.x
  13. Subject: XGetImage
  14. Summary: 
  15. Followup-To: 
  16. Distribution: world
  17. Organization: Image Analysis Systems Group, JPL
  18. Keywords: 
  19.  
  20. I am using XGetImage() to extract the pixmap of window which I am going
  21. to convert to other formats (like Postscript for example).  However,
  22. when the window is not completely visible, the unvisible parts have garbage
  23. when using XGetImage().  I tried turning on backing store via
  24. XChangeWindowAttributes(), but that didn't help much.  Is there a way
  25. to extract the contents of window regardless of its visibility status?
  26.  
  27. I tried looking at the xwd source, but it basically does what I do, and it
  28. only extracts what's visible.  Any help would be greatly appreciated.
  29.  
  30.  
  31.                     Thanks,
  32.  
  33.                     - Paul
  34. -- 
  35. --
  36. Paul Asmar     (paul@elroy.jpl.nasa.gov)
  37. Jet Propulsion Laboratory
  38. 4800 Oak Grove Dr.  Pasadena, CA 91109 M/S: 168/522
  39.