home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / graphics / 13650 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.6 KB  |  50 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!gumby!wupost!csus.edu!beach.csulb.edu!bwong
  3. From: bwong@csulb.edu (Bradley Wong)
  4. Subject: RFI: auto creating raster file from segments
  5. Message-ID: <C0pEMz.92s@csulb.edu>
  6. Organization: Cal State Long Beach
  7. Distribution: usa
  8. Date: Mon, 11 Jan 1993 19:11:22 GMT
  9. Lines: 39
  10.  
  11. I have a graphical problem and am looking for a solution.
  12.  
  13. Brief statement of problem:
  14.  
  15. I need to take the output of a user display prgram running
  16. under X and make it available for display in an propriatary
  17. X-based presentation program (kind of like a Freeland for X).
  18.  
  19. This would be easy if I could use xwd to dump the screen,
  20. convert the dump to GIF, crop the gif file, an import the
  21. GIF file into the presentation system (as a "slide").
  22.  
  23. The problem is this problem has to be automatic: It has to
  24. happen in the backgroup. The user program may not even be
  25. up and running at the time and the specific screen is 
  26. nested within another program.
  27.  
  28. The original display is made of colored icons, fonts and cells and
  29. is driven from d fixed-length, but variable data, text file.
  30.  
  31. Potential solutions?
  32.  
  33. I have access to the same data file information. 
  34.  
  35. One way I guess
  36. would be to create a composite graphical file using a programable
  37. vector language like postscript based on the variable data, and
  38. import the result as an EPS file or convert to a raster file.
  39.  
  40. Another would be to have a bunch of raster "segments" or icons that could
  41. somehow be concatinated to form a single composit raster file
  42. (GIF, TIF, etc.). But, this has to be done programatically.
  43.  
  44. Any suggestions or pointers (programs on the net, code fragments, etc.)? 
  45.  
  46.  
  47.  
  48.  
  49.  
  50.