home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / interlea / 961 < prev    next >
Encoding:
Text File  |  1992-12-28  |  1.7 KB  |  36 lines

  1. Newsgroups: comp.text.interleaf
  2. Path: sparky!uunet!leafusa!turner
  3. From: turner@HQ.Ileaf.COM (James Turner)
  4. Subject: Re: gif/tiff images to ileaf docs (HOW?)
  5. Message-ID: <1992Dec28.134638.18317@HQ.Ileaf.COM>
  6. Organization: Interleaf, Inc.
  7. References: <Dec22.013930.26692@yuma.ACNS.ColoState.EDU> <1992Dec24.000432.17352@ims.com>
  8. Date: Mon, 28 Dec 92 13:46:38 GMT
  9. Lines: 25
  10.  
  11. The following will work if you have the X11 distribution with the portable
  12. pixmap and portable bitmap support programs.  It also assume that you have
  13. the Interleaf bin directory in your search path.
  14.  
  15. It first converts file.gif to a ppm format, and streams that result to
  16. an X color dump.  It then uses the X Window conversion filter to turn
  17. it into an Interleaf image file, and deletes the intermediary file.
  18.  
  19. This is the csh script giftoileaf:
  20. #!/bin/csh
  21. set FILE=$1
  22. set RESULT=$FILE:r
  23. /usr/bin/X11/giftoppm $FILE | /usr/bin/X11/ppmtoxwd > $RESULT.xwd
  24. xwdrasfilt $RESULT.xwd $RESULT
  25. rm $RESULT.xwd
  26.  
  27. *******************************************************************************
  28. * James M. Turner        | > (LET ((DISCLAIMER 'INTERLEAF-NOT-RESPONSIBLE))   *
  29. * Member, Technical Staff|    #'(LAMBDA (FLAME)                               *
  30. * Developers' Tech. Group|         (AUTO-INTENSIFY-FLAME FLAME 999)))         *
  31. * Interleaf, Inc.        | #<Lexical Flamage 12342123>                        *
  32. * (617) 290-0710         | > (DO ((FLAMAGE (GET-NEXT-FLAME) (GET-NEXT-FLAME)))*
  33. * turner@HQ.Ileaf.com    |       ((NOT FLAMAGE))                              *
  34. * uunet!leafusa!turner   |       (FUNCALL * FLAMAGE))                         *
  35. *******************************************************************************
  36.