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